public ActionResult GetPlateColorsInfo(VehicleMaintainSearchModels model, int searchPage) { SearchDataWithPagedDatas <VehicleMaintainSearchModels, VehicleMaintainListModels> result = new SearchDataWithPagedDatas <VehicleMaintainSearchModels, VehicleMaintainListModels>(); result.SearchModel = model; result.PagedDatas = VehicleMaintainBLL.GetPagedPlateColors(model, searchPage, this.PageSize); return(PartialView("_PlateColorGrid", result)); }
public ActionResult SelectPlateColor() { SearchDataWithPagedDatas <VehicleMaintainSearchModels, VehicleMaintainListModels> model = new SearchDataWithPagedDatas <VehicleMaintainSearchModels, VehicleMaintainListModels>(); model.SearchModel = new VehicleMaintainSearchModels(); model.PagedDatas = VehicleMaintainBLL.GetPagedPlateColors(model.SearchModel, 1, this.PageSize); return(PartialView("_SelectPlateColors", model)); }