Пример #1
0
        public ActionResult AddReview(Review review)
        {
            var repo = new ReviewRepo();

            repo.SaveOrUpdate(new Review()
            {
                Body = review.Body, Rating = review.Rating, MovieID = review.MovieID
            });
            return(RedirectToAction("Details"));
        }