public static async Task GetNbVelibAsync(VelibSOAP.VelibIWServiceClient client, string station, Label l) { string res = await client.GetNbVelibAsync(station); l.Text = res; }
public static async Task GetStationsAsync(VelibSOAP.VelibIWServiceClient client, string ville, ComboBox c) { string[] res = await client.GetStationsAsync(ville); c.Items.AddRange(res); }