Exemplo n.º 1
0
 public ActionResult Create()
 {
     ViewBag.danhmuc = danhMucDAO.dsDanhMuc();
     ViewBag.theloai = theLoaiDAO.dsTheLoai();
     ViewBag.tacgia  = tacGiaDAO.dsTacGia();
     ViewBag.nxb     = nXBDAO.dsNXB();
     return(View());
 }
Exemplo n.º 2
0
        public ActionResult DanhMucSanPham()
        {
            DanhMucDAO danhMucDAO = new DanhMucDAO();

            return(PartialView(danhMucDAO.dsDanhMuc()));
        }
Exemplo n.º 3
0
        public PartialViewResult CatogeryLeft()
        {
            DanhMucDAO danhMucDAO = new DanhMucDAO();

            return(PartialView(danhMucDAO.dsDanhMuc()));
        }
Exemplo n.º 4
0
        // GET: Admin/QuanLyDanhMuc
        public ActionResult Index()
        {
            DanhMucDAO danhMucDAO = new DanhMucDAO();

            return(View(danhMucDAO.dsDanhMuc()));
        }