public IActionResult GetReviewOfBook(int bookId) { var reviews = _reviewRepository.GetReviewOfBook(bookId); if (!ModelState.IsValid) { return(BadRequest(ModelState)); } return(Ok(reviews)); }