public async Task <IActionResult> Post([FromBody] AdDto ad) { try { await _adService.AddAsync(ad); return(Ok()); } catch (Exception ex) { return(BadRequest(ex.Message)); } }