public ActionResult GetTerminalManufacturerInfo(TerminalManufacturerSearchModel model, int searchPage) { SearchDataWithPagedDatas <TerminalManufacturerSearchModel, TerminalManufacturerListModel> result = new SearchDataWithPagedDatas <TerminalManufacturerSearchModel, TerminalManufacturerListModel>(); result.SearchModel = model; result.PagedDatas = TerminalManufacturerBLL.GetPagedTerminalManufacturers(result.SearchModel, searchPage, this.PageSize); return(PartialView("_TerminalManufacturerPagedGrid", result)); }
public ActionResult TerminalManufacturerSetting() { SearchDataWithPagedDatas <TerminalManufacturerSearchModel, TerminalManufacturerListModel> model = new SearchDataWithPagedDatas <TerminalManufacturerSearchModel, TerminalManufacturerListModel>(); model.SearchModel = new TerminalManufacturerSearchModel(); model.PagedDatas = TerminalManufacturerBLL.GetPagedTerminalManufacturers(model.SearchModel, 1, this.PageSize); return(PartialView("_TerminalManufacturerSetting", model)); }