public GetOrCreateComponentTypeResponse GetOrCreateComponentType(GetOrCreateComponentTypeData data) { var dataDto = DataConverter.GetOrCreateComponentTypeRequestDtoData(data); var request = new GetOrCreateComponentTypeRequestDto { Data = dataDto, Token = GetAccessTokenDto() }; var responseDto = DtoService.GetOrCreateComponentType(request); var response = CreateResponse <GetOrCreateComponentTypeResponse>(responseDto); response.InternalData = DataConverter.GetComponentTypeInfo(responseDto.Data); return(response); }