Exemplo n.º 1
0
        private ActionResult GetAreaPagedGridPV(AreaSearchModel model, int searchPage)
        {
            SearchDataWithPagedDatas <AreaSearchModel, AreaModel> result = new SearchDataWithPagedDatas <AreaSearchModel, AreaModel>();

            result.SearchPage  = searchPage;
            result.SearchModel = model;
            result.PagedDatas  = AreaBLL.GetPagedAreaInfo(result.SearchModel, result.SearchPage, this.PageSize);
            return(PartialView("_AreaPagedGrid", result));
        }
Exemplo n.º 2
0
        public ActionResult AreaInfo()
        {
            SearchDataWithPagedDatas <AreaSearchModel, AreaModel> model
                = new SearchDataWithPagedDatas <AreaSearchModel, AreaModel>();

            model.SearchModel          = new AreaSearchModel();
            model.SearchModel.AreaName = string.Empty;
            model.SearchPage           = 1;
            model.PagedDatas           = AreaBLL.GetPagedAreaInfo(model.SearchModel, model.SearchPage, this.PageSize);
            return(PartialView("_AreaInfo", model));
        }