private void AddHostButton_Click(object sender, RoutedEventArgs e) { Host.BankBranch = bl.GetBankBranch(int.Parse(branchNumberTextBox.Text)); bl.AddHost(Host); NavigationService.Navigate(new MainHostPage(bl, Host)); }
private void AddHostButton_Click(object sender, RoutedEventArgs e) { Host.BankBranch = bl.GetBankBranch(int.Parse(branchNumberTextBox.Text)); bl.AddHost(Host); NavigationService.Navigate(new MainHostPage(bl, Host)); }