示例#1
0
        public ActionResult getBoxTinTucChung()
        {
            int Id = 0;

            int.TryParse(_configSystemServices.GetValueByKey("BoxTinTucChung"), out Id);
            var eSlider = _services.GetTinTucChung(null, null, null, null, null, 1, false, true, null, null);
            var entity  = _services.GetById(Id);

            ViewBag.Readmore = "<a href=\"tin-tuc-chung\">>>>>Xem thêm</a>";
            ViewBag.Url      = entity.contentAlias;
            return(PartialView(eSlider.ViewContents.Take(8)));
        }