Ejemplo n.º 1
0
 public AgencyRouteParser(
     IRouteRepo routeRepo,
     ILogger <AgencyRouteParser> logger
     )
 {
     _routeRepo = routeRepo;
     _logger    = logger;
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 3
0
 public BusCQHandler(
     IRouteRepo routeRepo,
     IDistributedCache cache,
     ILogger <BusCQHandler> logger
     )
 {
     _routeRepo = routeRepo;
     _cache     = cache;
     _logger    = logger;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 7
0
 public RouteMessageFormatter(
     IRouteRepo routeRepo
     )
 {
     _routeRepo = routeRepo;
 }
Ejemplo n.º 8
0
 public RouteService(IRouteRepo routeRepo)
 {
     _routeRepo = routeRepo;
 }
Ejemplo n.º 9
0
 public IRouteRepo GetRouteRepository()
 {
     repo = new RouteEFRepository();
     return(repo);
 }
Ejemplo n.º 10
0
 public RouteManager(IUnitOfWork uow)
 {
     repoRoute = uow.GetRouteRepository();
     repoCity  = uow.GetCityRepository();
 }
Ejemplo n.º 11
0
 public RouteService(IRouteRepo routeRepo)
 {
     this.routeRepo = routeRepo;
 }