namespace SIGCM.Domain.Interfaces; using SIGCM.Domain.Entities; public interface ICategoryRepository { Task> GetAllAsync(); Task GetByIdAsync(int id); Task AddAsync(Category category); Task UpdateAsync(Category category); Task DeleteAsync(int id); Task> GetSubCategoriesAsync(int parentId); Task> GetOperationsAsync(int categoryId); Task AddOperationAsync(int categoryId, int operationId); Task RemoveOperationAsync(int categoryId, int operationId); }