Exemple #1
0
        public JsonResult AuditPageListJson(int?pageIndex, int?pageSize, int?order)
        {
            Paging <Article> _pageingArticle = new Paging <Article>();

            if (pageIndex != null && pageIndex > 0)
            {
                _pageingArticle.PageIndex = (int)pageIndex;
            }
            if (pageSize != null && pageSize > 0)
            {
                _pageingArticle.PageSize = (int)pageSize;
            }
            var _paging = articleManage.FindAuditPageList(_pageingArticle, 0);

            return(Json(new { total = _paging.TotalNumber, rows = _paging.Items }));
        }