Пример #1
0
        public ActionResult AjaxGet(DataTableAjaxConfig dtConfig, string keyword = "")
        {
            var miles = _dal.GetPagedVipFees(dtConfig, keyword);

            return(Json(new DataTableAjaxResult
            {
                draw = dtConfig.draw,
                recordsFiltered = dtConfig.recordCount,
                recordsTotal = dtConfig.recordCount,
                data = miles
            }, JsonRequestBehavior.AllowGet));
        }