Update to Onion Architecture.
This commit is contained in:
13
Back/skydiveLogs-api.Business/Interfaces/IUserService.cs
Normal file
13
Back/skydiveLogs-api.Business/Interfaces/IUserService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using skydiveLogs_api.Domain;
|
||||
|
||||
namespace skydiveLogs_api.Business.Interfaces
|
||||
{
|
||||
public interface IUserService
|
||||
{
|
||||
User GetByLogin(string login, string password);
|
||||
|
||||
User GetById(int userId);
|
||||
|
||||
bool AddNewUser(User user);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user