private async void addCredit_Click(object sender, RoutedEventArgs e) { MessageDialog CreditAccCreation = new MessageDialog($"Account ID: {AccountLogic.AddCreditAccount(customer)}", "Credit Account Created!"); await CreditAccCreation.ShowAsync(); }
private void addCredit_Click(object sender, RoutedEventArgs e) { AccountLogic.AddCreditAccount(customer); }