public IActionResult GetMediaByReviewCount(int reviewCount) { var currentMedia = _mediaRepository.GetByReviewcount(reviewCount); if (currentMedia == null) { return(NotFound()); } else { return(Ok(_mediaRepository.GetByReviewcount(reviewCount))); } }