/// <summary> /// Gets the popup list. /// </summary> public ActionResult Popup(string id = "") { var published = false; if (!String.IsNullOrEmpty(Request["tinymce"])) { published = Request["tinymce"] == "true"; } string filter = Request["filter"]; return(View("Popup", PopupModel.Get(id, published, filter))); }
/// <summary> /// Gets the popup list. /// </summary> public ActionResult Popup(string id = "") { var published = false; if (!String.IsNullOrEmpty(Request["tinymce"])) { published = Request["tinymce"] == "true"; } string filter = Request["filter"]; // Disable caching for the popup Response.Cache.SetCacheability(HttpCacheability.NoCache); // Return view return(View("Popup", PopupModel.Get(id, published, filter))); }
/// <summary> /// Gets the popup list. /// </summary> public ActionResult Popup(string id = "") { return(View("Popup", PopupModel.Get(id))); }