sell.setCountry(dto.getCountry());
sell.setEmail(dto.getEmail());
sell.setSellBadge(dto.getSellBadge());
model.persist(sell);
AddSellResult result = new AddSellResult();
try {
result.setRate(getRate(dto.getSellBadge(), dto.getBuyBadge()));
} catch (IOException e) {
log.log(Level.WARNING, "Error connecting with currency converter", e);
}
return result;
}