// Let the responsible parties vote on the ChangeRequest private async void responsibleVote(object sender, RoutedEventArgs e) { try { string privateKey = responsibleKey.Password; ChangeRequest changeRequest = (ChangeRequest)changeRequestsTable.SelectedItem; if (responsibleAccept.IsChecked == true) { await changeRequest.responsibleVoteAsync(privateKey, true, responsibleInfo.Text); } else if (responsibleReject.IsChecked == true) { await changeRequest.responsibleVoteAsync(privateKey, false, responsibleInfo.Text); } MessageBox.Show($"Voted on ChangeRequest: { changeRequest.gitHash }"); } catch (Exception ex) { Debug.Write(ex); } }