Ejemplo n.º 1
0
        public ActionResult GetList(int page, int limit, string keyWord = "")
        {
            int sdId     = ProjectProvider.Instance.Current.SD_ID;
            var pageData = _ErrorService.GetPage(page, limit, sdId, keyWord);
            var result   = new Dictionary <string, object>()
            {
                { "code", 0 },
                { "msg", "success" },
                { "data", pageData.Items },
                { "count", pageData.TotalItems }
            };

            return(Content(result.ToJson()));
        }