Exemplo n.º 1
0
        public ActionResult AjaxGet(DataTableAjaxConfig dtConfig)
        {
            var miles = _dal.GetNoticeList(dtConfig);

            return(Json(new DataTableAjaxResult
            {
                draw = dtConfig.draw,
                recordsFiltered = dtConfig.recordCount,
                recordsTotal = dtConfig.recordCount,
                data = miles
            }, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
 public virtual List <Notice> GetNoticeList(GetNoticeListReq parame, ref int totalSize)
 {
     return(noticeDal.GetNoticeList(parame, ref totalSize));
 }