public async Task<ActionResult<TradeViewModel>> GetById(Guid id) { var trade = _mapper.Map<TradeViewModel>(await _tradeRepository.GetByIdTradeSectorCategory(id)); if (trade == null) return NotFound(); return trade; }