예제 #1
0
        // GET: backend/Franchisee
        public ActionResult Index(FranchiseeSearchModel model, int page = 1)
        {
            JL.Core.Filters.FranchiseeFilter filter = new Core.Filters.FranchiseeFilter();
            filter.Email = model.Email;
            filter.Name  = model.Name;
            filter.Phone = model.Phone;

            var pager = Core.Common.PageReq <FranchiseeFilter> .Create(filter, page);

            var data = jlService.FranchiseePage(pager);

            ViewBag.franchiseeQuery = model;

            return(View(data));
        }