Ejemplo n.º 1
0
        public ActionResult TimTheoQuan(string tenquan)
        {
            LayBaiDang select = new LayBaiDang();

            ViewBag.TenQuan = tenquan;
            return(View(select.TimTheoQuan(tenquan)));
        }
Ejemplo n.º 2
0
        // GET: Home
        public ActionResult Index()
        {
            LayBaiDang select = new LayBaiDang();

            List <BaiDang> xemnhieu = select.Top4XemNhieu();
            List <BaiDang> moidang  = select.Top4MoiDang();

            ViewBag.MoiDang = moidang;
            return(View(xemnhieu));
        }
Ejemplo n.º 3
0
        public ActionResult MoiDang()
        {
            LayBaiDang select = new LayBaiDang();

            return(View(select.MoiDang()));
        }
Ejemplo n.º 4
0
        // GET: BaiDag
        public ActionResult XemNhieuNhat()
        {
            LayBaiDang select = new LayBaiDang();

            return(View(select.XemNhieu()));
        }