Esempio n. 1
0
        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());
        }