public ActionResult GetData(BootstrapGridDto dto) { var log_type = RequestHelper.GetQueryString("log_type", "0").ToInt(); var log_summary = RequestHelper.GetQueryString("log_summary", ""); var data = _logApp.GetList(dto, log_type, log_summary); return(Data(data)); }
public ActionResult GetData(DataTableDto dto) { var log_type = RequestHelper.GetQueryString("logType", "0").ToInt(); var log_summary = RequestHelper.GetQueryString("log_summary", ""); var logDate = RequestHelper.GetQueryString("logDate", TimeHelper.FormatDate(DateTime.Now, "0")); var data = _logApp.GetList(dto, log_type, log_summary, logDate.ToDate()); return(Json(data)); }