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