public IActionResult GetReviewsByRecipeId(int recipeId)
        {
            if (!ReviewByRecipeIdExists(recipeId))
            {
                _logger.LogWarning($"Review with user id: {recipeId} does not exist.");
                return(NotFound());
            }

            IEnumerable <Review> reviews = _reviewRepo.GetReviewsByRecipeId(recipeId);

            _logger.LogInformation($"Getting review with user id: {recipeId}.");
            return(Ok(reviews));
        }