示例#1
0
        public SendUnitTestResultResponse SendUnitTestResult(Guid unitTestId, SendUnitTestResultData data)
        {
            var dataDto = DataConverter.GetSendUnitTestResultRequestDtoData(unitTestId, data);
            var request = new SendUnitTestResultRequestDto()
            {
                Data  = dataDto,
                Token = GetAccessTokenDto()
            };
            var responseDto = DtoService.SendUnitTestResult(request);
            var response    = CreateResponse <SendUnitTestResultResponse>(responseDto);

            response.InternalData = responseDto.Data;
            return(response);
        }