コード例 #1
0
 public async Task <(bool success, AccessRights roles)> Login(string username, string password)
 {
     using (UnitOfWorkProvider.Create())
     {
         return(await doctorService.AuthorizeDoctorAsync(username, password));
     }
 }