Feat: Cambios Varios

This commit is contained in:
2025-12-23 15:12:57 -03:00
parent 32663e6324
commit 8bc1308bc5
58 changed files with 4080 additions and 663 deletions

View File

@@ -1,6 +1,7 @@
namespace SIGCM.Domain.Interfaces;
using SIGCM.Domain.Entities;
namespace SIGCM.Domain.Interfaces;
public interface ICategoryRepository
{
Task<IEnumerable<Category>> GetAllAsync();
@@ -12,4 +13,6 @@ public interface ICategoryRepository
Task<IEnumerable<Operation>> GetOperationsAsync(int categoryId);
Task AddOperationAsync(int categoryId, int operationId);
Task RemoveOperationAsync(int categoryId, int operationId);
}
Task MergeCategoriesAsync(int sourceId, int targetId);
Task<bool> HasChildrenAsync(int categoryId);
}