phronCare/Models/Interfaces/IPhSInstitutionRepository.cs
Leandro Hernan Rojas 319f7234c5
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 6m16s
Update ADD PhMap, Institutions and Patients
2025-04-21 19:41:26 -03:00

20 lines
582 B
C#

using Domain.Entities;
using Domain.Generics;
namespace Models.Interfaces
{
public interface IPhSInstitutionRepository
{
Task<EInstitution> CreateAsync(EInstitution model);
Task<PagedResult<EInstitution>> GetAllAsync(int page = 1, int pageSize = 50);
Task<EInstitution?> GetByIdAsync(int id);
Task<PagedResult<EInstitution>> SearchAsync(
string? name,
string? type,
string? province,
int page = 1,
int pageSize = 50);
Task<bool> UpdateAsync(EInstitution model);
}
}