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