public APIResponse <TaskDTO> CreateTask(ITaskDTO dto)
        {
            var input  = dto.Serialize();
            var result = this.Client.CreateTask(input);

            return(result.DeserializeAsResponse <TaskDTO>());
        }
        public APIResponse <MailDTO> SendMail(IMailDTO mailDTO, ITaskDTO taskDTO)
        {
            var inputMail = mailDTO.Serialize();
            var inputTask = taskDTO.Serialize();
            var result    = this.Client.SendMail(inputMail, inputTask);

            return(result.DeserializeAsResponse <MailDTO>());
        }
        public APIResponse <ProtocolDTO> InsertProtocol(IProtocolDTO protocolDTO, ITaskDTO taskDTO)
        {
            var inputProtocol = protocolDTO.Serialize();
            var inputTask     = taskDTO.Serialize();
            var result        = this.Client.InsertProtocol(inputProtocol, inputTask);

            return(result.DeserializeAsResponse <ProtocolDTO>());
        }