Exemplo n.º 1
0
 private Task <ApplicationUser> GetCurrentUserAsync()
 {
     return(_userManager.LookupByName(HttpContext.User.Identity.Name));
 }