Пример #1
0
        /// <summary>
        /// 获取数据列表
        /// </summary>
        /// <param name="condition">查询类型</param>
        /// <param name="keyword">关键字</param>
        /// <returns></returns>
        public ActionResult GetDataList(string condition, string keyword, Pagination pagination)
        {
            var dataList = _tagBusiness.GetDataList(condition, keyword, pagination).Select(m => new { m.Id, m.TagName }).ToList();;

            return(Content(pagination.BuildTableResult_DataGrid(dataList).ToJson()));
        }