public ActionResult Index()
        {
            var dl =
                _bannerDanhSachRepository.GetMany(o => o.BannerQCDanhSach);

            return(View(dl));
        }
        public ActionResult BannerQCDanhSach()
        {
            IList <BannerDanhSach> banner = _bannerDanhSachRepository.GetMany(o => o.BannerQCDanhSach && o.Ok).ToList();

            return(View("BannerQCDanhSach", banner));
        }
Ejemplo n.º 3
0
        public ActionResult Index(int iddanhmuc)
        {
            IList <BannerDanhSach> banner = _bannerDanhSachRepository.GetMany(o => o.IdDanhMuc == iddanhmuc && o.Ok).OrderBy(o => o.ViTri).ToList();

            return(View("BannerDanhSach", banner));
        }