Exemplo n.º 1
0
        public PartialViewResult boxCards(string key = "", string anotherkey = "", string cardgroups = "", string customergroup = "", string fromdate = "", string todate = "", int page = 1)
        {
            var pageSize       = 20;
            var customergroups = GetListChild("", customergroup);

            var list = _tblCardService.GetAllCPagingByFirst(key, anotherkey, cardgroups, customergroups, fromdate, todate, page, pageSize);

            var gridModel = PageModelCustom <tblCardActive> .GetPage(list, page, pageSize);

            return(PartialView(gridModel));
        }