/// <remarks/> public void CreateOrUpdateCountryAsync(string ticket, TransitCountry country) { this.CreateOrUpdateCountryAsync(ticket, country, null); }
/// <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); }
public int CreateOrUpdateCountry(string ticket, TransitCountry country) { object[] results = this.Invoke("CreateOrUpdateCountry", new object[] { ticket, country}); return ((int)(results[0])); }