Exemple #1
0
 public HouseService(RedisTool RedisTool, ConfigService configService,
                     HouseDapper houseDapper, ElasticService elasticService,
                     HouseMongoMapper houseMongoMapper)
 {
     _redisTool        = RedisTool;
     _configService    = configService;
     _houseDapper      = houseDapper;
     _elasticService   = elasticService;
     _houseMongoMapper = houseMongoMapper;
 }
 public HousesController(HouseService houseService, HouseMongoMapper houseMongoMapper)
 {
     _houseService     = houseService;
     _houseMongoMapper = houseMongoMapper;
 }