Create models and Clean Arch boilerplate
This commit is contained in:
parent
3926db5446
commit
872dc1e263
21 changed files with 576 additions and 27 deletions
8
CSR.Application/Interfaces/IUserService.cs
Normal file
8
CSR.Application/Interfaces/IUserService.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace CSR.Application.Interfaces;
|
||||
|
||||
public interface IUserService
|
||||
{
|
||||
public record CreateUserResult(Domain.Entities.User? User, string? ErrorMessage);
|
||||
|
||||
public void CreateUser(string username, string email, string password, bool isAdmin = false);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue