public ActionResult Create([Bind("ReviewerName,Score,Text,RestaurantId")] Review review)
        {
            try
            {
                if (!ModelState.IsValid)
                {
                    return(View(review));
                }

                Lib.Restaurant libRestaurant = Repo.GetRestaurantById(review.RestaurantId);
                var            libReview     = new Lib.Review
                {
                    ReviewerName = review.ReviewerName,
                    Score        = review.Score,
                    Text         = review.Text
                };
                Repo.AddReview(libReview, libRestaurant);
                Repo.Save();

                return(RedirectToAction(nameof(RestaurantController.Details),
                                        "Restaurant", new { id = review.RestaurantId }));
            }
            catch
            {
                return(View(review));
            }
        }
        // GET: Review/Delete/5
        public ActionResult Delete(int id)
        {
            Lib.Review libReview    = Repo.GetReviewById(id);
            var        restaurantId = Repo.RestaurantIdFromReviewId(id);
            var        webRest      = new Review
            {
                Id           = libReview.Id,
                ReviewerName = libReview.ReviewerName,
                Score        = libReview.Score,
                Text         = libReview.Text,
                RestaurantId = restaurantId
            };

            return(View(webRest));
        }