Add user and role management features
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Distribution.Features.Role;
|
||||
|
||||
public interface IRoleRepository
|
||||
{
|
||||
Task<Models.Role?> GetByIdAsync(Guid id);
|
||||
Task<List<Models.Role>> GetAllAsync();
|
||||
Task<List<Models.RolePermission>> GetPermissionsAsync(Guid roleId);
|
||||
}
|
||||
Reference in New Issue
Block a user