Backend login and register
This commit is contained in:
8
src/Domain/Interface/IUserRoleRepository.cs
Normal file
8
src/Domain/Interface/IUserRoleRepository.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Domain.Interface;
|
||||
|
||||
public interface IUserRoleRepository
|
||||
{
|
||||
Task<bool> AddRoleAsync(int userId, int roleId);
|
||||
Task<bool> RemoveRoleAsync(int userId, int roleId);
|
||||
Task<bool> HasRoleAsync(int userId, int roleId);
|
||||
}
|
||||
Reference in New Issue
Block a user