Esempio n. 1
0
 public async Task <IActionResult> GetUser(string personId)
 {
     try
     {
         return(Ok(await _membershipManager.GetAspUser(personId)));
     }
     catch (Exception ex)
     {
         return(ex.GetActionResult());
     }
 }
 public async Task <AspNetUsers> GetUser(string personId)
 {
     return(await membershipManager.GetAspUser(personId));
 }