/// <summary> /// Populates the page view model and returns to the appropriate template /// </summary> /// <returns>ViewResult containing populated view model</returns> public ActionResult PageNotFound() { Response.TrySkipIisCustomErrors = true; Response.StatusCode = 404; var vm = _handler.GetPageModel <PageNotFoundViewModel>(CurrentPage, CurrentMember); return(CurrentTemplate(vm)); }
/// <summary> /// Populates the page view model and returns to the appropriate template /// </summary> /// <returns>ViewResult containing populated view model</returns> public ActionResult Timeline() { var vm = _handler.GetPageModel <TimelineViewModel>(CurrentPage, CurrentMember); return(CurrentTemplate(vm)); }
/// <summary> /// Populates the page view model and returns to the appropriate template /// </summary> /// <returns>ViewResult containing populated view model</returns> public ActionResult Login() { var vm = _handler.GetPageModel <LoginViewModel>(CurrentPage, CurrentMember); return(CurrentTemplate(vm)); }