/// <remarks/> public void AgregarVentaAsync(Cliente cli, CarritoItem[] listado) { this.AgregarVentaAsync(cli, listado, null); }
/// <remarks/> public void AgregarVentaAsync(Cliente cli, CarritoItem[] listado, object userState) { if ((this.AgregarVentaOperationCompleted == null)) { this.AgregarVentaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAgregarVentaOperationCompleted); } this.InvokeAsync("AgregarVenta", new object[] { cli, listado}, this.AgregarVentaOperationCompleted, userState); }
public bool AgregarVenta(Cliente cli, CarritoItem[] listado) { object[] results = this.Invoke("AgregarVenta", new object[] { cli, listado}); return ((bool)(results[0])); }