Пример #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);
            }
        }
Пример #2
0
 public NewChildResponse(UpdateDTO update)
 {
     Update = update;
 }
Пример #3
0
 public UpdateLocuriResponse(UpdateDTO updateDto)
 {
     UpdateDto = updateDto;
 }