public ActionResult ConfirmAccount(Guid GUID) { landingPageService.ConfirmAccount(GUID); var user = landingPageService.GetCurrentUser(GUID); var config = landingPageService.GetAppConfigData(); ViewBag.bannerLinks = new List <SiteLinkViewModel>(); ViewBag.config = config.Config; var isExpired = landingPageService.CheckIfEmailExpired(user.GUID, (int)EmailType.EmailTypes.EmailConfirmation); if (isExpired) { return(PartialView("ExpiredEmail", user)); } return(PartialView(user)); }