/// <summary>
        /// 数据列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        //[HttpPost]
        public ActionResult GetData(BootstrapGridDto param)
        {
            var data = new BootstrapGridDto();

            data = _roleApp.GetData(param);
            return(Content(data.ToJson()));
        }
Exemple #2
0
        public ActionResult GetData(DataTableDto param)
        {
            string roleName = RequestHelper.GetPostString("roleName", "");
            string roleCode = RequestHelper.GetPostString("roleCode", "");
            var    data     = _roleApp.GetData(param, roleName, roleCode);

            return(Json(data));
        }