public IActionResult GetReviewerById(int reviewerid)
        {
            var reviewer = _reviewerRepositoryGUI.GetReviewerByID(reviewerid);

            if (reviewer == null)
            {
                ModelState.AddModelError(string.Empty, "Some Error Occur here in reviewer Controoler");
                ViewBag.reviewerMessage = $"There was pro. in database or reivewer with {reviewerid} does not exist";

                reviewer = new ReviewerDto();
            }

            var reviews = _reviewerRepositoryGUI.GetReviewsByReviewers(reviewerid);

            if (reviews.Count() <= 0)
            {
                ViewBag.reviewMessage = $"REviewer {reviewer.FirstName} {reviewer.LastName} does not exist";
            }

            IDictionary <ReviewDto, BookDto> reviewBook = new Dictionary <ReviewDto, BookDto>();

            foreach (var review in reviews)
            {
                var book = reviewRepositoryGUI.GetBookOfAReview(review.id);

                reviewBook.Add(review, book);
            }


            var reviewerReviewsBook = new ReviewerReviewsBooksViewModel
            {
                ReviewBook = reviewBook,
                Review     = reviewer
            };

            ViewBag.SuccessMessage = TempData["SuccessMessage"];
            return(View(reviewerReviewsBook));
        }