Esempio n. 1
0
        public ActionResult HomePageSlider()
        {
            var advertisements = _advertisementRepository.GetActiveAdvertisements()
                                 .Select(Mapper.Map <AdvertisementViewModel>)
                                 .ToList();

            return(PartialView(advertisements));
        }