public ActionResult Index(string key) { var filmdao = new FilmDAO(); int numrecords = 10; ViewBag.listfilm = filmdao.lstFilmSearch(key, numrecords); ViewBag.listfilmSlide = filmdao.listFilmSlideDescendingbyCreateDate(numrecords); return(View()); }