Exemplo n.º 1
0
        public ActionResult RateMovie()
        {
            int RentalID = (int)Session["RentalID"];

            var ops = new DVDLibraryOperations();

            var rateMovie = ops.GetRateMovieDetailsByRentalID(RentalID);
            rateMovie.UserID = (int)Session["userID"];

            var rateMovieVM = new RateMovieViewModel(rateMovie);

            return View(rateMovieVM);
        }