public LichtBildController( IOptions <LichtBildConfiguration> lichtBildConfiguration, LichtBildConnector lichtBildConnector, MongoDBConnector mongoDBConnector, OpenDataHubConnector openDataHupConnector ) { this._lichtBildConnector = lichtBildConnector; this._lichtBildConfiguration = lichtBildConfiguration; this._mongoDBConnector = mongoDBConnector; this._openDataHupConnector = openDataHupConnector; }
public GastronomyController( OpenDataHubConnector openDataHupConnector, MongoDBConnector mongoDBConnector ) { this._openDataHupConnector = openDataHupConnector; _mongoDBConnector = mongoDBConnector; var mapperConfig = new MapperConfiguration(cfg => cfg.CreateMap <Gastronomy, MergedGastronomy>()); mapper = mapperConfig.CreateMapper(); }
public EventsController( OpenDataHubConnector openDataHupConnector ) { this._openDataHupConnector = openDataHupConnector; }