Пример #1
0
        public ActionResult IndexforAll()
        {
            IEnumerable <AdvertisementViewModel> data = advertisementService.GetAllBusinessAdvertisement();

            return(View(data.OrderByDescending(x => x.CreatedDate)));
        }