public void updateChildren(ChildDTO childDTO, List <ChallengeDTO> challenges) { UpdateDTO update = new UpdateDTO(childDTO, challenges); try { sendResponse(new ObjectResponseProtocol.NewChildResponse(update)); } catch (Exception e) { throw new ValidationException("Sending error: " + e); } }
public NewChildResponse(UpdateDTO update) { Update = update; }
public UpdateLocuriResponse(UpdateDTO updateDto) { UpdateDto = updateDto; }