Add a controler for "User" (add and authenticate)
This commit is contained in:
@@ -20,5 +20,7 @@ namespace skydiveLogs_api.Data.Interface
|
||||
ILiteCollection<JumpType> CollOfJumpType { get; }
|
||||
|
||||
ILiteCollection<Jump> CollOfJump { get; }
|
||||
|
||||
ILiteCollection<User> CollOfUser { get; }
|
||||
}
|
||||
}
|
||||
|
||||
10
Back/skydiveLogs-api.Data/Interface/IUserRepository.cs
Normal file
10
Back/skydiveLogs-api.Data/Interface/IUserRepository.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using skydiveLogs_api.Model;
|
||||
|
||||
|
||||
namespace skydiveLogs_api.Data.Interface
|
||||
{
|
||||
public interface IUserRepository : IRepository<User>
|
||||
{
|
||||
User GetByLogin(string login, string password);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user