8 lines
231 B
C#
8 lines
231 B
C#
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);
|
|
} |