public IActionResult GetRelatedAds([FromBody] AdGetWithCountryModel model) { return(Ok(_adService.GetAdGridModel(model.countryId))); }
public IActionResult GetLatestAds([FromBody] AdGetWithCountryModel model) { return(Ok(_adService.GetAdGridModel(model.countryId).OrderByDescending(x => x.createdAt).Take(9))); }