public async Task <IActionResult> GetByIdAsync(int id) { return(Ok(_mapper.Map <AnuncioDto>(await _service.GetByIdAsync(id)))); }
public async Task <IActionResult> GetByIdAsync(int id) { return(Ok(_mapper.Map <AnuncioDto>(await _service.GetByIdAsync(id)))); }