using AuthHex.Models; namespace AuthHex.Interfaces { public interface IRoleManageRepository { Task AddRoleAsync(Role role, CancellationToken ct = default); Task GetRoleByIdAsync(Guid roleId, CancellationToken ct = default); Task> ListRolesAsync(CancellationToken ct = default); Task RoleInUseAsync(Guid roleId, CancellationToken ct = default); Task DeleteRoleAsync(Role role, CancellationToken ct = default); } }