public GetChangedWebLogConfigsResponseDto GetChangedWebLogConfigs(GetChangedWebLogConfigsRequestDto request)
        {
            var coreRequest = GetCoreRequest <Zidium.Core.Api.GetChangedWebLogConfigsRequest>(request);

            coreRequest.Data = AdapterDataConverter.ConvertToCore(request.Data);

            var coreResponse = Dispatcher.GetChangedWebLogConfigs(coreRequest);

            var response         = GetApiResponse <GetChangedWebLogConfigsResponseDto>(coreResponse);
            var coreResponseData = coreResponse.InternalData;

            response.Data = ConvertList(coreResponseData, AdapterDataConverter.ConvertToApi);
            return(response);
        }
Ejemplo n.º 2
0
        public GetChangedWebLogConfigsResponse GetChangedWebLogConfigs(DateTime lastUpdateDate, List <Guid> componentIds)
        {
            var dataDto = new GetChangedWebLogConfigsRequestDtoData()
            {
                LastUpdateDate = lastUpdateDate,
                ComponentIds   = componentIds
            };
            var request = new GetChangedWebLogConfigsRequestDto()
            {
                Data  = dataDto,
                Token = GetAccessTokenDto()
            };
            var responseDto = DtoService.GetChangedWebLogConfigs(request);
            var response    = CreateResponse <GetChangedWebLogConfigsResponse>(responseDto);

            response.InternalData = DataConverter.GetWebLogConfigList(responseDto.Data);
            return(response);
        }
Ejemplo n.º 3
0
 public GetChangedWebLogConfigsResponseDto GetChangedWebLogConfigs(GetChangedWebLogConfigsRequestDto request)
 {
     return(ExecuteAction <GetChangedWebLogConfigsResponseDto>("GetChangedWebLogConfigs", request));
 }