public StationController(ILogger <StationController> logger, ITitleStationDb titleStationDb, IDistributedCache cache, IBusClient busClient) { _titleStationDb = titleStationDb; _cache = cache; _logger = logger; _busClient = busClient; _busClient.SubscribeAsync <UpdateInfoStationsEvent>(UpdateInfoStation); }
public StationApiController(ITitleStationDb titleStationDb) { _titleStationDb = titleStationDb; }