Seeding, cleanup, fix nginx proxying
This commit is contained in:
11
src/Imprink.Domain/Repositories/Users/IRoleRepository.cs
Normal file
11
src/Imprink.Domain/Repositories/Users/IRoleRepository.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Imprink.Domain.Entities.Users;
|
||||
|
||||
namespace Imprink.Domain.Repositories;
|
||||
|
||||
public interface IRoleRepository
|
||||
{
|
||||
Task<IEnumerable<Role>> GetAllRolesAsync(CancellationToken cancellationToken = default);
|
||||
Task<Role?> GetRoleByIdAsync(Guid roleId, CancellationToken cancellationToken = default);
|
||||
Task<Role?> GetRoleByNameAsync(string roleName, CancellationToken cancellationToken = default);
|
||||
Task<bool> RoleExistsAsync(Guid roleId, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user