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

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

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

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