Beispiel #1
0
        public ActionResult GetReports()
        {
            var Data = _statisticsRepository.GetReportList();

            return(NewtonSoftJson(new
            {
                rows = Data,
                total = Data.Count(),
                code = 0,
                msg = ""
            }, JsonRequestBehavior.AllowGet));
        }