public virtual ActionResult Index() { if (!String.IsNullOrEmpty(Application.MaintenancePage)) { return(View("Maintenance", PageViewModel.FromDomain(Pages[Application.MaintenancePage]))); } ViewData["login"] = Session["RedirectedLogin"]; return(View()); }