Beispiel #1
0
        public ActionResult Index()
        {
            var sanPhamDao = new SanPhamDao();

            ViewBag.NewProducts     = sanPhamDao.ListNewProduct(4);
            ViewBag.ListHotProducts = sanPhamDao.ListHotProduct(4);
            return(View());
        }