Add a controler for "User" (add and authenticate)
This commit is contained in:
11
Back/skydiveLogs-api.Business/Interface/IUserService.cs
Normal file
11
Back/skydiveLogs-api.Business/Interface/IUserService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using skydiveLogs_api.Model;
|
||||
|
||||
namespace skydiveLogs_api.Business.Interface
|
||||
{
|
||||
public interface IUserService
|
||||
{
|
||||
User GetByLogin(string login, string password);
|
||||
|
||||
void AddNewUser(User user);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user