public ActionResult PagesList(PagesFilter request) { request.SetDefaultPaging(); var model = GetCommand <GetPagesListCommand>().ExecuteCommand(request); var success = model != null; return(WireJson(success, model)); }
public ActionResult SelectPage(PagesFilter request) { request.SetDefaultPaging(); var model = GetCommand <GetPagesListCommand>().ExecuteCommand(request); var success = model != null; var view = RenderView("SelectPage", model); return(ComboWireJson(success, view, model, JsonRequestBehavior.AllowGet)); }
public ActionResult Pages(PagesFilter request) { request.SetDefaultPaging(); var model = GetCommand <GetPagesListCommand>().ExecuteCommand(request); var success = model != null; var view = RenderView("Pages", model); var json = new { Tags = request.Tags, IncludeArchived = request.IncludeArchived }; return(ComboWireJson(success, view, json, JsonRequestBehavior.AllowGet)); }