Exemplo n.º 1
0
 public PredictionsService(
     INextBusClient nextBusClient,
     IRouteRepo routeRepo,
     IBusStopRepo busStopRepo,
     IBusPredictionRepo busPredictionRepo,
     ILogger <PredictionsService> logger
     )
 {
     _nextBusClient     = nextBusClient;
     _routeRepo         = routeRepo;
     _busStopRepo       = busStopRepo;
     _busPredictionRepo = busPredictionRepo;
     _logger            = logger;
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public DataSeeder(
     INextBusClient nextbusClient,
     IAgencyRepo agencyRepo,
     IRouteRepo routeRepo,
     IBusStopRepo busStopRepo,
     ILogger <DataSeeder> logger
     )
 {
     _nextbusClient = nextbusClient;
     _agencyRepo    = agencyRepo;
     _routeRepo     = routeRepo;
     _busStopRepo   = busStopRepo;
     _logger        = logger;
 }