public async Task <IActionResult> DeleteImage(int Id) { int AdvertisementId = _advertisementService.DeleteImage(Id); return(RedirectToAction("Edit", new { Id = Id })); }