Пример #1
0
 public AgencyRouteParser(
     IRouteRepo routeRepo,
     ILogger <AgencyRouteParser> logger
     )
 {
     _routeRepo = routeRepo;
     _logger    = logger;
 }
Пример #2
0
 public ScheduleManager(IUnitOfWork uow)
 {
     this.scheduleRepo    = uow.GetScheduleRepositry();
     this.FlightCostRepo  = uow.GetFlightCostRepository();
     this.FlightRepo      = uow.GetFlightRepository();
     this.CityRepo        = uow.GetCityRepository();
     this.RouteRepo       = uow.GetRouteRepository();
     this.TravelClassRepo = uow.GetTravelClassRepository();
 }
Пример #3
0
 public BusCQHandler(
     IRouteRepo routeRepo,
     IDistributedCache cache,
     ILogger <BusCQHandler> logger
     )
 {
     _routeRepo = routeRepo;
     _cache     = cache;
     _logger    = logger;
 }
Пример #4
0
 public PredictionsService(
     INextBusClient nextBusClient,
     IRouteRepo routeRepo,
     IBusStopRepo busStopRepo,
     IBusPredictionRepo busPredictionRepo,
     ILogger <PredictionsService> logger
     )
 {
     _nextBusClient     = nextBusClient;
     _routeRepo         = routeRepo;
     _busStopRepo       = busStopRepo;
     _busPredictionRepo = busPredictionRepo;
     _logger            = logger;
 }
Пример #5
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;
 }
Пример #6
0
 public BusPredictionsHandler(
     IDistributedCache cache,
     IRouteRepo routeRepo,
     IPredictionsService predictionsService,
     IBusPredictionRepo predictionRepo,
     IRouteMessageFormatter routeMessageFormatter,
     ILogger <BusPredictionsHandler> logger
     )
 {
     _cache                 = cache;
     _routeRepo             = routeRepo;
     _predictionsService    = predictionsService;
     _predictionRepo        = predictionRepo;
     _routeMessageFormatter = routeMessageFormatter;
     _logger                = logger;
 }
Пример #7
0
 public RouteMessageFormatter(
     IRouteRepo routeRepo
     )
 {
     _routeRepo = routeRepo;
 }
Пример #8
0
 public RouteService(IRouteRepo routeRepo)
 {
     _routeRepo = routeRepo;
 }
Пример #9
0
 public IRouteRepo GetRouteRepository()
 {
     repo = new RouteEFRepository();
     return(repo);
 }
Пример #10
0
 public RouteManager(IUnitOfWork uow)
 {
     repoRoute = uow.GetRouteRepository();
     repoCity  = uow.GetCityRepository();
 }
Пример #11
0
 public RouteService(IRouteRepo routeRepo)
 {
     this.routeRepo = routeRepo;
 }