Example #1
0
        public ActionResult GetNightBanInfo(NightBanSearchModel model, int searchPage)
        {
            SearchDataWithPagedDatas <NightBanSearchModel, NightBanListModel> result =
                new SearchDataWithPagedDatas <NightBanSearchModel, NightBanListModel>();

            result.SearchModel = model;
            result.PagedDatas  = NightBanBLL.GetPagedNightBan(model, searchPage, this.PageSize);
            return(PartialView("_NightBanPagedGrid", result));
        }
Example #2
0
        public ActionResult NightBanSetting()
        {
            SearchDataWithPagedDatas <NightBanSearchModel, NightBanListModel> model =
                new SearchDataWithPagedDatas <NightBanSearchModel, NightBanListModel>();

            model.SearchModel           = new NightBanSearchModel();
            model.SearchModel.IsEnabled = -1;

            model.PagedDatas = NightBanBLL.GetPagedNightBan(model.SearchModel, 1, this.PageSize);
            return(PartialView("_NightBanSetting", model));
        }