public CitySearchDomainService(IMapperService mapperService,
                                ICityDataService cityDataService, IWeatherRestService weatherService,
                                ICountryRestService countryRestService)
 {
     _mapperService      = mapperService;
     _cityDataService    = cityDataService;
     _weatherService     = weatherService;
     _countryRestService = countryRestService;
 }
Example #2
0
 public ReferenceDataService(IUnitOfWork unitOfWork,
                             ICountryRestService countryRestService,
                             IExchangeRateService exchangeRateService,
                             CountryMapper countryMapper,
                             ExchangeRateMapper exchangeRateMapper)
 {
     this.unitOfWork          = unitOfWork;
     this.countryRestService  = countryRestService;
     this.exchangeRateService = exchangeRateService;
     this.countryMapper       = countryMapper;
     this.exchangeRateMapper  = exchangeRateMapper;
 }