示例#1
0
 public string GetCurrentReport(int serviceOnAirId)
 {
     try
     {
         Dictionary <string, object> res = _service.CreateSuccessRes();
         res.Add("Report", _service.ConvertDataTable(_PathData.GetCurrentReport(serviceOnAirId)));
         return(_js.Serialize(res));
     }
     catch (Exception ex)
     {
         Dictionary <string, object> res = _service.CreateErrorRes(ex);
         return(_js.Serialize(res));
     }
 }