Ejemplo n.º 1
0
        public ActionResult GetMapLines(MapLinesSearchModel model, int searchPage)
        {
            SearchDataWithPagedDatas <MapLinesSearchModel, MapLinesListModel> result = new SearchDataWithPagedDatas <MapLinesSearchModel, MapLinesListModel>();

            result.SearchModel = model;
            result.PagedDatas  = MapLinesBLL.GetPagedMapLines(result.SearchModel, searchPage, this.PageSize);
            return(PartialView("_MapLinesPagedGrid", result));
        }
Ejemplo n.º 2
0
        public ActionResult MapLinesSetting()
        {
            SearchDataWithPagedDatas <MapLinesSearchModel, MapLinesListModel> model = new SearchDataWithPagedDatas <MapLinesSearchModel, MapLinesListModel>();

            model.SearchModel = new MapLinesSearchModel();

            model.PagedDatas = MapLinesBLL.GetPagedMapLines(model.SearchModel, 1, this.PageSize);
            return(PartialView("_MapLinesSetting", model));
        }