private void AddExistingRecipeButton_Click(object sender, EventArgs e) { var restaurantOfRecipe = _recipeRepository.GetRestaurant(_restaurantOfRecipeName); _recipeRepository.AddExistingRecipe(ExistingRecipesListBox.Text, restaurantOfRecipe); Close(); }