/* * Creates or updates the extra. */ private void btnSave_Click(object sender, RoutedEventArgs e) { if (this.breakfast != null) { mFacade.UpdateBreakfast(this.breakfast, txtDietRequirements.Text); } else { mFacade.AddBreakFast(txtDietRequirements.Text); } this.Close(); }