public GetChildComponentsResponseDto GetChildComponents(GetChildComponentsRequestDto request) { var coreRequest = GetCoreRequest <Zidium.Core.Api.GetChildComponentsRequest>(request); coreRequest.Data = AdapterDataConverter.ConvertToCore(request.Data); var coreResponse = Dispatcher.GetChildComponents(coreRequest); var response = GetApiResponse <GetChildComponentsResponseDto>(coreResponse); response.Data = AdapterDataConverter.ConvertToApi(coreResponse.InternalData); return(response); }
public GetChildComponentsResponse GetChildComponents(Guid componentId) { var dataDto = new GetChildComponentsRequestDtoData() { ComponentId = componentId }; var request = new GetChildComponentsRequestDto() { Data = dataDto, Token = GetAccessTokenDto() }; var responseDto = DtoService.GetChildComponents(request); var response = CreateResponse <GetChildComponentsResponse>(responseDto); response.InternalData = DataConverter.GetComponentInfoList(responseDto.Data); return(response); }
public GetChildComponentsResponseDto GetChildComponents(GetChildComponentsRequestDto request) { return(ExecuteAction <GetChildComponentsResponseDto>("GetChildComponents", request)); }