public async Task <IActionResult> PersonalDetails() { var user = await _userManager.GetUserAsync(User); if (user == null) { return(NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.")); } ViewBag.CountryList = _utilityManager.GetCountryList() .Select(c => new SelectListItem { Value = c, Text = c }) .ToList(); var viewModel = await _accountService.GetPersonalDetails(user); return(View(model: viewModel)); }