Agregar archivos de proyecto.
This commit is contained in:
13
MieSystem/Data/Interfaces/IExpedienteRepository.cs
Normal file
13
MieSystem/Data/Interfaces/IExpedienteRepository.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user