예제 #1
0
        public ActionResult GetVehicleTypeInfo(VehicleTypeSearchModel model, int searchPage)
        {
            SearchDataWithPagedDatas <VehicleTypeSearchModel, VehicleTypeListModel> result =
                new SearchDataWithPagedDatas <VehicleTypeSearchModel, VehicleTypeListModel>();

            result.SearchModel = model;
            result.PagedDatas  = VehicleMaintainBLL.GetPagedVehicleType(model, searchPage, this.PageSize);
            return(PartialView("_VehicleTypesGrid", result));
        }
예제 #2
0
        public ActionResult SelectVehicleType()
        {
            SearchDataWithPagedDatas <VehicleTypeSearchModel, VehicleTypeListModel> model =
                new SearchDataWithPagedDatas <VehicleTypeSearchModel, VehicleTypeListModel>();

            model.SearchModel = new VehicleTypeSearchModel();
            model.PagedDatas  = VehicleMaintainBLL.GetPagedVehicleType(model.SearchModel, 1, this.PageSize);
            return(PartialView("_SelectVehicleType", model));
        }