api v2.0
This commit is contained in:
@@ -6,9 +6,10 @@ public interface IDoctorRepository
|
||||
{
|
||||
Task AddAsync(Doctor doctor);
|
||||
|
||||
Task<Doctor> GetByIdAsync(Guid id);
|
||||
Task<Doctor?> GetByIdAsync(Guid id);
|
||||
|
||||
Task<Doctor?> FindByEmailAsync(string email);
|
||||
Task<bool> CredentialsMatch(string email, string password);
|
||||
|
||||
Task UpdateAsync(Doctor doctor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user