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)); }