public ActionResult Create() { ViewBag.danhmuc = danhMucDAO.dsDanhMuc(); ViewBag.theloai = theLoaiDAO.dsTheLoai(); ViewBag.tacgia = tacGiaDAO.dsTacGia(); ViewBag.nxb = nXBDAO.dsNXB(); return(View()); }
public ActionResult DanhMucSanPham() { DanhMucDAO danhMucDAO = new DanhMucDAO(); return(PartialView(danhMucDAO.dsDanhMuc())); }
public PartialViewResult CatogeryLeft() { DanhMucDAO danhMucDAO = new DanhMucDAO(); return(PartialView(danhMucDAO.dsDanhMuc())); }
// GET: Admin/QuanLyDanhMuc public ActionResult Index() { DanhMucDAO danhMucDAO = new DanhMucDAO(); return(View(danhMucDAO.dsDanhMuc())); }