api v2.1
This commit is contained in:
@@ -10,6 +10,6 @@ public class PatientRepository(HealthcareManagerDatabase context)
|
||||
{
|
||||
public async Task<Patient?> FindByEmailAsync(string email)
|
||||
{
|
||||
return await _context.Pacients.FirstOrDefaultAsync(d => d.Email == email);
|
||||
return await _context.Patients.FirstOrDefaultAsync(d => d.Email == email);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user