private async Task <ApplicationUser> GetUserAsync() { string UserName = HttpContextExtensions.GetUserName(_context); return(await _userManager.FindByNameAsync(UserName)); }
private async Task <ApplicationUser> GetUserAsync() { string UserName = HttpContextExtensions.GetUserName(_context); return(await _userManager.FindByNameAsync(UserName)); }