using Domain.Entities; namespace Application.Services.Database.PostgreSQL; public interface IPatientRepository { Task AddAsync(Patient patient, CancellationToken token); Task GetByIdAsync(Guid id, CancellationToken token); Task FindByEmailAsync(string email, CancellationToken token); Task CredentialsMatch(string email, string password, CancellationToken token); Task UpdateAsync(Patient patient, CancellationToken token); Task DeleteAsync(Patient patient, CancellationToken token); Task> GetAllAsync(CancellationToken token); }