using DotBased.AspNet.Authority.Models.Authority; namespace DotBased.AspNet.Authority.Repositories; public interface IAttributeRepository { public Task> GetAttributesAsync(int limit = 20, int offset = 0, string search = "", CancellationToken cancellationToken = default); public Task> GetAttributeByIdAsync(string id, CancellationToken cancellationToken = default); public Task> CreateAttributeAsync(AuthorityAttribute attribute, CancellationToken cancellationToken = default); public Task> UpdateAttributeAsync(AuthorityAttribute attribute, CancellationToken cancellationToken = default); public Task DeleteAttributeAsync(AuthorityAttribute attribute, CancellationToken cancellationToken = default); }