public ActionResult IndexforAll() { IEnumerable <AdvertisementViewModel> data = advertisementService.GetAllBusinessAdvertisement(); return(View(data.OrderByDescending(x => x.CreatedDate))); }
public ActionResult IndexforAll() { IEnumerable <AdvertisementViewModel> data = advertisementService.GetAllBusinessAdvertisement(); return(View(data.OrderByDescending(x => x.CreatedDate))); }