public ActionResult GetTimeForMovie(string Id) { MovieTimeViewModel model = new MovieTimeViewModel(); model.Projections = ProjectionService.GetProjectionsByMovieId(Id); return(PartialView(model)); }
public ActionResult Details(string Id) { var model = new MovieViewModel(); model.Movie = MovieService.GetMovieById(Id); model.Projection = ProjectionService.GetProjectionsByMovieId(Id); return(View(model)); }