Add a controler for "User" (add and authenticate)

This commit is contained in:
Sébastien André
2020-03-12 12:24:51 +01:00
parent 8a29fd7de9
commit 32a27b6d26
23 changed files with 225 additions and 34 deletions

View File

@@ -20,5 +20,7 @@ namespace skydiveLogs_api.Data.Interface
ILiteCollection<JumpType> CollOfJumpType { get; }
ILiteCollection<Jump> CollOfJump { get; }
ILiteCollection<User> CollOfUser { get; }
}
}

View 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);
}
}