Example #1
0
        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);
            }
        }
Example #2
0
 public NewChildResponse(UpdateDTO update)
 {
     Update = update;
 }
Example #3
0
 public UpdateLocuriResponse(UpdateDTO updateDto)
 {
     UpdateDto = updateDto;
 }