private async void Button_Click(object sender, RoutedEventArgs e) { await WeBallAPI.inviteMatch(WeBallAPI.selectedFive, (string)(((Button)sender).CommandParameter)); if (!WeBallAPI.Success) { return; } }
private async void Button_Click(object sender, RoutedEventArgs e) { await WeBallAPI.inviteMatch(WeBallAPI.selectedFive, (string)(((Button)sender).CommandParameter)); if (!WeBallAPI.Success) { return; } }