public UsuariosController(IMongoDBService mongoDBService)
 {
     _mongoDBService = mongoDBService;
     _comunicador    = _mongoDBService.GetInstance <UsuariosModel>(_mongoDBService.CollectionUsuarios);
 }
Exemplo n.º 2
0
 public InfoReqResController(IMongoDBService mongoDBService, IRedisService redisService)
 {
     _mongoDBService = mongoDBService;
     _comunicador    = _mongoDBService.GetInstance <InfoReqResModel>(_mongoDBService.CollectionInfoReqRes);
     _redisService   = redisService;
 }
 public ConfiguracionProxyController(IMongoDBService mongoDBService, IRedisService redisService)
 {
     _mongoDBService = mongoDBService;
     _comunicador    = _mongoDBService.GetInstance <ConfiguracionProxyModel>(_mongoDBService.CollectionConfigProxy);
     _redisService   = redisService;
 }