namespace MyOffice.Data.Repositories.Account; using Models.Accounts; public interface IAccountCategoryRepository { List GetAll(Guid userId); Task> GetAllAsync(Guid userId, CancellationToken cancellationToken = default); bool Add(AccountCategory accountCategory); Task AddAsync(AccountCategory accountCategory, CancellationToken cancellationToken = default); AccountCategory? Get(Guid userId, Guid id); Task GetAsync(Guid userId, Guid id, CancellationToken cancellationToken = default); bool Update(AccountCategory accountCategory); Task UpdateAsync(AccountCategory accountCategory, CancellationToken cancellationToken = default); bool Remove(AccountCategory accountCategory); Task RemoveAsync(AccountCategory accountCategory, CancellationToken cancellationToken = default); }