public async Task <IActionResult> Advertisement(int id) { var advertisement = await _advertisementService.GetAdvertisementAsync(id); if (advertisement != null) { return(View(advertisement)); } return(NotFound()); }
public async Task <IActionResult> Advertisement(int id) { var advertisement = await _advertisementService.GetAdvertisementAsync(id); if (advertisement != null) { return(View(advertisement)); } return(NotFound()); }