@Override
@Logging
@Caching(expiration = Caching.TWO_HOURS)
public List<MarketStatDto> getMarketStatInRegion(Long regionID, Long... typeIDs) throws EveCentralApiException {
try {
MarketStatResponse apiResponse = facade.getMarketStatInRegion(regionID, typeIDs);
MarketStatResult marketStatResult = apiResponse.getMarketStatResult();
List<MarketStatDto> marketStatDtos = new ArrayList<MarketStatDto>();
for (MarketStatType marketStatType : marketStatResult.getTypes()) {
marketStatDtos.add(mapper.map(marketStatType, MarketStatDto.class));
}
return marketStatDtos;