Exemple #1
0
 public string InsertPath(string path, int serviceOnAirId)
 {
     try
     {
         Dictionary <string, object> res = _service.CreateSuccessRes();
         _PathData.InsertPath(path, serviceOnAirId);
         return(_js.Serialize("1"));
     }
     catch (Exception ex)
     {
         Dictionary <string, object> res = _service.CreateErrorRes(ex);
         return(_js.Serialize(res));
     }
 }