Ejemplo n.º 1
0
 /// <summary>
 /// 获取数据
 /// </summary>
 public JsonResult GetUser(TestTableParam param)
 {
     var bs = new TableMySqlLogic().GetUser(param);
     #region 以下逻辑可以重写Json()在内部实现
     var data = bs.Data as List<TableMysql>;
     var result = Common.Common.Map<TableMysql, TableMysql_Page1>(data);
     bs.Data = result;
     //var test = Json(result);
     #endregion
     return Json(bs);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 删除数据
 /// </summary>
 public JsonResult DelUser(TestTableParam param)
 {
     var result = new TableMySqlLogic().DelUser(param);
     return Json(result);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 获取数据
 /// </summary>
 public JsonResult GetUser(TestTableParam param)
 {
     var result = new TableMySqlLogic().GetUser(param);
     var test = Json(result);
     return test;
 }