Fase 1: Inicialización del Backend .NET 10, Configuración de Dapper, Autenticación JWT y Entidades Base

This commit is contained in:
2025-12-17 13:08:21 -03:00
parent 15305c681c
commit eda016f93f
33 changed files with 819 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
namespace SIGCM.Domain.Interfaces;
using SIGCM.Domain.Entities;
public interface ICategoryRepository
{
Task<IEnumerable<Category>> GetAllAsync();
Task<Category?> GetByIdAsync(int id);
Task<int> AddAsync(Category category);
Task UpdateAsync(Category category);
Task DeleteAsync(int id);
Task<IEnumerable<Category>> GetSubCategoriesAsync(int parentId);
}