public LvivTaxiService(IUberClient uber, IUklonClient uklon, IBoltClient bolt, ITaxi838Client taxi838,
                        IDistanceProvider distance, IRequestFactory factory, IOrderValidator validator, IOrderMapper mapper,
                        IHistoricalDataService historicalData)
 {
     _uber           = uber;
     _uklon          = uklon;
     _bolt           = bolt;
     _taxi838        = taxi838;
     _distance       = distance;
     _factory        = factory;
     _validator      = validator;
     _mapper         = mapper;
     _historicalData = historicalData;
 }
Exemple #2
0
 public HistoricalDataController(IHistoricalDataService historicalDataService)
 {
     this.historicalDataService = historicalDataService;
 }
 public HistoricalDataController(IHistoricalDataService historicalDataService)
 {
     _historicalDataService = historicalDataService ?? throw new ArgumentNullException(nameof(historicalDataService));
 }