Esempio n. 1
0
 public DataSeeder(BusVbotDbContext dbContext,
                   INextBusClient nextBusClient,
                   ILogger <DataSeeder> logger)
 {
     _nextBusClient = nextBusClient;
     _logger        = logger;
     _dbContext     = dbContext;
 }
Esempio n. 2
0
 public PredictionsService(
     INextBusClient nextBusClient,
     IRouteRepo routeRepo,
     IBusStopRepo busStopRepo,
     IBusPredictionRepo busPredictionRepo,
     ILogger <PredictionsService> logger
     )
 {
     _nextBusClient     = nextBusClient;
     _routeRepo         = routeRepo;
     _busStopRepo       = busStopRepo;
     _busPredictionRepo = busPredictionRepo;
     _logger            = logger;
 }
Esempio n. 3
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;
 }
Esempio n. 4
0
 public PredictionsManager(
     INextBusClient nextBusClient,
     ICachingService cachingService,
     ILocationsManager locationsManager,
     BusVbotDbContext dbContext,
     IAgencyServiceAccessor agencyServiceAccessor
     )
 {
     _nextBusClient         = nextBusClient;
     _cachingService        = cachingService;
     _locationsManager      = locationsManager;
     _dbContext             = dbContext;
     _agencyServiceAccessor = agencyServiceAccessor;
 }