Example #1
0
 /// <remarks/>
 public void CreateOrUpdateCountryAsync(string ticket, TransitCountry country) {
     this.CreateOrUpdateCountryAsync(ticket, country, null);
 }
Example #2
0
 /// <remarks/>
 public void CreateOrUpdateCountryAsync(string ticket, TransitCountry country, object userState) {
     if ((this.CreateOrUpdateCountryOperationCompleted == null)) {
         this.CreateOrUpdateCountryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateCountryOperationCompleted);
     }
     this.InvokeAsync("CreateOrUpdateCountry", new object[] {
                 ticket,
                 country}, this.CreateOrUpdateCountryOperationCompleted, userState);
 }
Example #3
0
 public int CreateOrUpdateCountry(string ticket, TransitCountry country) {
     object[] results = this.Invoke("CreateOrUpdateCountry", new object[] {
                 ticket,
                 country});
     return ((int)(results[0]));
 }