예제 #1
0
 public Movies()
 {
     _model = new MovieListViewModel(_db.Movies);
 }
예제 #2
0
 public ActionResult Index(string genre, string filter)
 {
     var model = new MovieListViewModel(db.Movies);
     ViewBag.Title = model.Title;
     model.Genre = genre;
     model.Filter = filter;
     return View(model);
 }