コード例 #1
0
ファイル: NoticeController.cs プロジェクト: sqddchen/zuqiu
        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));
        }
コード例 #2
0
 public virtual List <Notice> GetNoticeList(GetNoticeListReq parame, ref int totalSize)
 {
     return(noticeDal.GetNoticeList(parame, ref totalSize));
 }