コード例 #1
0
        public ActionResult Details(string imdbID)
        {
            var repo        = new MovieRepository();
            var movie       = new MovieViewModel();
            var movieFromDB = new BLL.Movie();

            movieFromDB = repo.GetMovieByIDShortDetails(imdbID);
            movie.CastFromMovie(movieFromDB);
            return(View(movie));
        }