private void BtnAddClub_OnClick(object sender, RoutedEventArgs e) { Clubs clubs = new Clubs(); clubs.ShowDialog(); Context.SaveChanges(); cmbBoxClub.ItemsSource = Context.Clubs.Local.OrderBy(p => p.ClubName).ToList(); }
private void Club_OnClick(object sender, RoutedEventArgs e) { Clubs clubs = new Clubs(); clubs.ShowDialog(); }