public IActionResult DeleteData(RecipeFormViewModelData recipe)
        {
            RecipeItem newRecipe = new RecipeItem();

            newRecipe.RecipeName  = recipe.RecipeName;
            newRecipe.ServingSize = recipe.ServingSize;
            newRecipe.Description = recipe.Description;
            newRecipe.RecipeId    = recipe.RecipeId;
            Ingredient newIngredient = new Ingredient();

            newIngredient.IngredientName = recipe.Ingredient;
            newIngredient.IngredientId   = recipe.RecipeId;
            Equipment newEquipment = new Equipment();

            newEquipment.EquipmentName = recipe.Equipment;
            newEquipment.EquipmentId   = recipe.RecipeId;
            newRecipe.Instructions     = recipe.Instructions;
            Review newReview = new Review();

            newReview.ReviewText = recipe.Review;
            newReview.ReviewId   = recipe.RecipeId;

            repository.DeleteRecipe(newRecipe);
            repository.DeleteReview(newReview);
            repository.DeleteIngredient(newIngredient);
            repository.DeleteEquipment(newEquipment);

            return(RedirectToAction("DataPage", "Home"));
        }