public ActionResult GetData(DataTableDto dto) { string dicCode = RequestHelper.GetPostString("dicCode"); string dicName = RequestHelper.GetPostString("dicName"); var list = _dicApp.GetData(dto, dicCode, dicName); return(Json(list)); }
/// <summary> /// 数据表格 /// </summary> /// <returns></returns> public ActionResult GetData() { var data = new BootstrapGridDto(); var list = _dicApp.GetData(); //data.list = list; //data.pageSize = list.Count; return(Content(data.ToJson())); }