This commit is contained in:
andrei-mihnea-cerbu
2024-04-08 00:03:24 +03:00
parent 2ccec617a5
commit b48d5ee19e
168 changed files with 2877 additions and 1146 deletions
@@ -2,17 +2,17 @@
namespace Application.Services.Database;
public interface IPacientRepository
public interface IPatientRepository
{
Task AddAsync(Pacient pacient);
Task AddAsync(Patient patient);
Task<Pacient> GetByIdAsync(Guid id);
Task<Patient?> GetByIdAsync(Guid id);
Task<Pacient?> FindByEmailAsync(string email);
Task<Patient?> FindByEmailAsync(string email);
Task UpdateAsync(Pacient doctor);
Task UpdateAsync(Patient doctor);
Task DeleteAsync(Pacient doctor);
Task DeleteAsync(Patient doctor);
Task<IEnumerable<Pacient>> GetAllAsync();
}
Task<IEnumerable<Patient>> GetAllAsync();
}