4647484950515253545556
public ExtraServiceTO get(Long id) { if (id == null) { throw new IllegalArgumentException("id is null"); } ExtraService es = extraServiceDAO.get(id); if (es == null) { return null; } return mapper.map(es, ExtraServiceTO.class);
6566676869707172
} if (extraService.getId() == null) { throw new IllegalArgumentException("extraService.id is null"); } ExtraService es = mapper.map(extraService, ExtraService.class); extraServiceDAO.update(es); }
8081828384858687
} if (extraService.getId() == null) { throw new IllegalArgumentException("extraService.id is null"); } ExtraService es = mapper.map(extraService, ExtraService.class); extraServiceDAO.remove(es); }