public ActionResult Index() { ViewBag.lstNhaKho = khoDao.GetNhaKhos(); ViewBag.lstViTriSua = vitrisuaDao.GetVitriSuas(); ViewBag.selectNSS = new SelectList(NhomspDao.GetNhomSanPhams().Where(x => x.Status == true), "ID_Nhom", "TenNhom"); ViewBag.selectNCC = new SelectList(nhacugcapDao.GetNhacugcaps().Where(x => x.Status == true), "MaNCC", "TenNCC"); ViewBag.selectHH = new SelectList(SanPhamDao.GetSanPhams().Where(x => x.Status == true), "MaHH", "TenHH"); return(View(SanPhamDao.GetSanPhams().Where(x => x.Status == true).ToList())); }
public ActionResult Index() { return(View(NhomspDao.GetNhomSanPhams())); }