Update to dotnet 9.0, add user roles, MatchStats and OpenApi/Scalar in dev
This commit is contained in:
@@ -8,8 +8,11 @@ namespace LaDOSE.Business.Interface
|
||||
ApplicationUser Authenticate(string username, string password);
|
||||
IEnumerable<ApplicationUser> GetAll();
|
||||
ApplicationUser GetById(int id);
|
||||
ApplicationUser Create(ApplicationUser user, string password);
|
||||
ApplicationUser Create(ApplicationUser user, string password, IEnumerable<string> roleNames = null);
|
||||
void Update(ApplicationUser user, string password = null);
|
||||
void Delete(int id);
|
||||
|
||||
/// <summary>The roles that exist in the database — reference data, not created at runtime.</summary>
|
||||
IEnumerable<ApplicationRole> GetAllRoles();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user