public IActionResult Index()
        {
            var reviews = reviewRepository.GetReviews();

            if (reviews.Count() <= 0)
            {
                ViewBag.Message = "There are problems retrieving reviews " +
                                  " or reviews not exist in the database.";
            }
            return(View(reviews));
        }
        public IActionResult Index()
        {
            var reviews = _reviewRepository.GetReviews();

            if (reviews.Count() <= 0)
            {
                ViewBag.Message = "Ther was a problem retrieving reviews from " +
                                  "the database or no reviews exists";
            }
            return(View(reviews));
        }
        public IActionResult Index()
        {
            var reviews = _reviewRepository.GetReviews();

            if (reviews.Count() <= 0)
            {
                ViewBag.Message = "There was a problem retrieving reviews from the database or no review exists";
            }

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