public TrafficViewComponent(SlService service) { _service = service; }
public SignalRHub(SlService trafficService, ICredentialsRepository credentialsRepo) { _trafficService = trafficService; _credentialsRepo = credentialsRepo; _forecastService = new DarkSkyService(_credentialsRepo.GetDarkSkyApiKey()); }