* Added LoginService to handle login and user creation * Extended DbContext * Extended Mapper
10 lines
246 B
C#
10 lines
246 B
C#
using SytelineSaAppEfDataModel.Dtos;
|
|
|
|
namespace SytelineSaAppEfDataModel.Services;
|
|
|
|
public interface ILoginService
|
|
{
|
|
Task<EdiUserDto> CreateUser(string userName, string password);
|
|
Task<bool> Login(string username, string password);
|
|
|
|
} |