Feat: Cambios Varios
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user