start UI
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using Application.Services.Database;
|
||||
using FluentValidation;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Application.Endpoints.Doctors.Login
|
||||
{
|
||||
@@ -22,7 +21,7 @@ namespace Application.Endpoints.Doctors.Login
|
||||
.MinimumLength(8).WithMessage("Password must be at least 8 characters long.");
|
||||
}
|
||||
|
||||
private async Task<bool> BeExistingDoctor(string email, System.Threading.CancellationToken cancellationToken)
|
||||
private async Task<bool> BeExistingDoctor(string email, CancellationToken cancellationToken)
|
||||
{
|
||||
return await _doctorRepository.IsDoctorExisting(email);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user