using DotBased.AspNet.Authority.Models.Authority; namespace DotBased.AspNet.Authority.Repositories; public interface IRoleRepository { public Task> GetRolesAsync(int limit = 20, int offset = 0, string search = "", CancellationToken cancellationToken = default); public Task> GetRoleByIdAsync(string id, CancellationToken cancellationToken = default); public Task> CreateRoleAsync(AuthorityRole role, CancellationToken cancellationToken = default); public Task> UpdateRoleAsync(AuthorityRole role, CancellationToken cancellationToken = default); public Task DeleteRoleAsync(AuthorityRole role, CancellationToken cancellationToken = default); }