public void DeleteReviewById(int userId, int recipeId)
        {
            IQueryable <Entities.Review> reviews = from r in _context.Review
                                                   where r.UserId == userId & r.RecipeId == recipeId
                                                   select r;

            Entities.Review review = reviews.FirstOrDefault();
            _context.Remove(review);
        }
 public void DeleteIngredientById(int id)
 {
     Entities.Ingredient ingredient = _context.Ingredient.Find(id);
     _context.Remove(ingredient);
 }