Esempio n. 1
0
        //
        // GET: /Home/
        public ActionResult Index()
        {
            NewsDAO tbnew = new NewsDAO();

            ViewBag.viewdate = tbnew.GetviewDate();
            var model = tbnew.ViewListAll();

            return(View(model));
        }