Seeding, cleanup, fix nginx proxying

This commit is contained in:
lumijiez
2025-06-09 23:54:37 +03:00
parent c2c4b739f1
commit dd7eeb9eea
32 changed files with 439 additions and 240 deletions

View 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);
}