예제 #1
0
 //
 // GET: /Menu/
 public ActionResult MainMenu()
 {
     return(View(MenuBus.Menu()));
 }
예제 #2
0
 public ActionResult AllProducts(int id)
 {
     return(View(MenuBus.TatCaSanPham(id)));
 }
예제 #3
0
 // GET: Producer/Details/5
 public ActionResult Details(int id)
 {
     return(View(MenuBus.ChiTiet(id)));
 }
예제 #4
0
 // GET: Menu
 public ActionResult Index(int page = 1)
 {
     return(View(MenuBus.DanhSach(page, 4)));
 }
예제 #5
0
 public PartialViewResult GetNhaSanXuat()
 {
     ViewBag.menuHDT = MenuBus.DanhSachNhaSanXuat();
     return(PartialView("~/Views/Shared/_NhaSanXuat.cshtml"));
 }
예제 #6
0
 public PartialViewResult GetLoaiSanPham()
 {
     ViewBag.menuLSP = MenuBus.DanhSachLoaiSanPham();
     return(PartialView("~/Views/Shared/_LoaiSanPham.cshtml"));
 }