예제 #1
0
 public LichtBildController(
     IOptions <LichtBildConfiguration> lichtBildConfiguration,
     LichtBildConnector lichtBildConnector,
     MongoDBConnector mongoDBConnector,
     OpenDataHubConnector openDataHupConnector
     )
 {
     this._lichtBildConnector     = lichtBildConnector;
     this._lichtBildConfiguration = lichtBildConfiguration;
     this._mongoDBConnector       = mongoDBConnector;
     this._openDataHupConnector   = openDataHupConnector;
 }
예제 #2
0
        public GastronomyController(
            OpenDataHubConnector openDataHupConnector,
            MongoDBConnector mongoDBConnector
            )
        {
            this._openDataHupConnector = openDataHupConnector;
            _mongoDBConnector          = mongoDBConnector;


            var mapperConfig = new MapperConfiguration(cfg => cfg.CreateMap <Gastronomy, MergedGastronomy>());

            mapper = mapperConfig.CreateMapper();
        }
예제 #3
0
 public EventsController(
     OpenDataHubConnector openDataHupConnector
     )
 {
     this._openDataHupConnector = openDataHupConnector;
 }