public ActionResult PageNoteFound() { ErrorScreen screen = new ErrorScreen(); ViewData.Model = screen; Response.StatusCode = (int)HttpStatusCode.NotFound; return View("404"); }
/// <summary> /// Internal server error /// </summary> /// <returns></returns> public ActionResult InternalServerError() { ErrorScreen screen = new ErrorScreen(); ViewData.Model = screen; Response.StatusCode = (int)HttpStatusCode.InternalServerError; return View("Error"); }
/// <summary> /// Session expired /// </summary> /// <returns></returns> public ActionResult SessionExpired() { ErrorScreen screen = new ErrorScreen(); ViewData.Model = screen; return View("SessionExpired"); }