public ActionResult Index() { Movie movie = CurrentSession.Get <Movie>("selectedMovie"); if (movie == null) { return(View(directorManager.List())); } return(View(movie.Directors)); }
public ActionResult Index() { Movie movie = CurrentSession.Get <Movie>("selectedMovie"); if (movie == null) { return(View(directorManager.List())); } return(View(movie.Directors)); }