Files
MIESYSTEM/MieSystem/Data/Interfaces/IExpedienteRepository.cs
2025-12-25 13:54:49 -06:00

15 lines
432 B
C#

using MieSystem.Models;
namespace MieSystem.Data.Interfaces
{
public interface IExpedienteRepository
{
Task<Expediente?> GetByIdAsync(int id);
Task<IEnumerable<Expediente?>> GetAllAsync();
Task<int> CreateAsync(Expediente expediente);
Task<bool> UpdateAsync(Expediente expediente);
Task<bool> DeleteAsync(int id);
Task<IEnumerable<Expediente?>> GetActivosAsync();
}
}