* Added EdiUser Entity and DTO
* Added LoginService to handle login and user creation * Extended DbContext * Extended Mapper
This commit is contained in:
10
SytelineSaAppEfDataModel/Services/ILoginService.cs
Normal file
10
SytelineSaAppEfDataModel/Services/ILoginService.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using SytelineSaAppEfDataModel.Dtos;
|
||||
|
||||
namespace SytelineSaAppEfDataModel.Services;
|
||||
|
||||
public interface ILoginService
|
||||
{
|
||||
Task<EdiUserDto> CreateUser(string userName, string password);
|
||||
Task<bool> Login(string username, string password);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user