public IActionResult GetUserProfileInformation() { var userProfile = new UserProfileViewModel(); var user = _userService.GetUser(); userProfile.userDetail = _userDetailService.GetEditUserDetail(); userProfile.UserClaimViewModel = user; userProfile.UserPublishedCurriculumVitaeViewModel = _userCurriculumVitaeService.GetPublishedUserCurriculumVitaesByUserId(user.UserId); userProfile.UserCurriculumVitaeViewModels = _userCurriculumVitaeService.GetUserCurriculumVitaesByUserId(user.UserId); return(View(userProfile)); }
public ViewViewComponentResult Invoke() { var userDetail = _userDetailService.GetEditUserDetail(); return(View(userDetail)); }