コード例 #1
0
        public JsonResult FullCollateralOrderList(CollateralOrderTableParams param)
        {
            int totalCount = 0, filteredCount = 0;

            using (var cRepository = new CollateralRepository())
            {
                var results = cRepository.GetFullCollateralOrderList(
                    param, out totalCount, out filteredCount);

                return(Json(new
                {
                    sEcho = param.sEcho,
                    iTotalRecords = totalCount,
                    iTotalDisplayRecords = filteredCount,
                    aaData = results
                },
                            JsonRequestBehavior.AllowGet));
            }
        }