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

            IEnumerable <Review> reviews = _reviewRepo.GetReviewsByUserId(userId);

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