public void Transform()
 {
     Result = new LightstoneAutoResponse(_carInformation.CarInformationDto.CarId, _carInformation.CarInformationDto.Year,
         _carInformation.CarInformationRequest.Vin, _carInformation.CarInformationDto.ImageUrl,
         _carInformation.CarInformationDto.Quarter,
         _carInformation.CarInformationDto.CarFullname, _carInformation.CarInformationDto.CarModel,
         _metricResponse.Valuation);
     Result.AddResponseState(DataProviderResponseState.Successful);
 }
        public TransformLightstoneResponse(IRetrieveValuationFromMetrics metricResponse,
            IRetrieveCarInformation carInformation)
        {
            Continue = metricResponse != null && carInformation != null && carInformation.CarInformationDto != null && carInformation.IsSatisfied && metricResponse.IsSatisfied;
            Result = Continue ? null : LightstoneAutoResponse.Empty();

            _metricResponse = metricResponse;
            _carInformation = carInformation;
        }
 public override void Observe()
 {
     _transform = new TransformLightstoneResponse(_retrieveValuationFromMetrics, _retrieveCarInformation);
     _transform.Transform();
     _response = _transform.Result;
 }