public AgencyRouteParser( IRouteRepo routeRepo, ILogger <AgencyRouteParser> logger ) { _routeRepo = routeRepo; _logger = logger; }
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(); }
public BusCQHandler( IRouteRepo routeRepo, IDistributedCache cache, ILogger <BusCQHandler> logger ) { _routeRepo = routeRepo; _cache = cache; _logger = logger; }
public PredictionsService( INextBusClient nextBusClient, IRouteRepo routeRepo, IBusStopRepo busStopRepo, IBusPredictionRepo busPredictionRepo, ILogger <PredictionsService> logger ) { _nextBusClient = nextBusClient; _routeRepo = routeRepo; _busStopRepo = busStopRepo; _busPredictionRepo = busPredictionRepo; _logger = logger; }
/// <inheritdoc /> public DataSeeder( INextBusClient nextbusClient, IAgencyRepo agencyRepo, IRouteRepo routeRepo, IBusStopRepo busStopRepo, ILogger <DataSeeder> logger ) { _nextbusClient = nextbusClient; _agencyRepo = agencyRepo; _routeRepo = routeRepo; _busStopRepo = busStopRepo; _logger = logger; }
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; }
public RouteMessageFormatter( IRouteRepo routeRepo ) { _routeRepo = routeRepo; }
public RouteService(IRouteRepo routeRepo) { _routeRepo = routeRepo; }
public IRouteRepo GetRouteRepository() { repo = new RouteEFRepository(); return(repo); }
public RouteManager(IUnitOfWork uow) { repoRoute = uow.GetRouteRepository(); repoCity = uow.GetCityRepository(); }
public RouteService(IRouteRepo routeRepo) { this.routeRepo = routeRepo; }