//public ActionResult StructureSetting() //{ // StructureSettingModel model = new StructureSettingModel(); // model.IsCascaded = true; // model.InspectTypeAny = true; // model.ExNoticeTypeAny = true; // model.PagedStructures = StructureBLL.GetPagedStructures(model, this.PageSize); // return PartialView("_StructureSetting", model); //} //private ActionResult GetStructurePagedGridPV(StructureSettingModel model, int currentPage) //{ // model.PagedStructures = StructureBLL.GetPagedStructures(model, this.PageSize, currentPage); // return PartialView("_StructureSetting", model); //} //public ActionResult StructurePagedGrid(StructureSettingModel model, int currentPage) //{ // return GetStructurePagedGridPV(model, currentPage); //} //[HttpPost, ValidateAntiForgeryToken] //public ActionResult GetStructureInfo(StructureSettingModel model) //{ // return GetStructurePagedGridPV(model, 1); //} #endregion public ActionResult StructureSetting() { StructureSettingModel model = new StructureSettingModel(); model.IsCascaded = false; model.InspectTypeAny = true; model.ExNoticeTypeAny = true; model.SearchPage = 1; model.Nightban = -1; model.PagedDatas = StructureBLL.GetPagedStructures(model, this.PageSize); return(PartialView("_StructureSetting", model)); }
private ActionResult GetStructurePagedGridPV(StructureSettingModel model) { model.PagedDatas = StructureBLL.GetPagedStructures(model, this.PageSize); return(PartialView("_StructurePagedGrid", model)); }