private void MenuItem_Click_11(object sender, RoutedEventArgs e) { LitDbContext db = new LitDbContext(); try { db.PopulateGengers(); MessageBox.Show("The Gengers was successfully saved.", "Done", MessageBoxButton.OK, MessageBoxImage.Information); } catch (Exception expt) { ErrorTextBox.Text = expt.Message; } }