Exemple #1
0
        public CadastroService(ILogger <CadastroService> logger, IConfiguration config, MonitoramentoContext context)
        {
            this._logger  = logger;
            this._context = context;

            this._clientHttp = new HttpClient();

            this.host = config.GetSection("ConfigApp").GetSection("host").Value;
            this.port = ConfigurationBinder.GetValue <int>(config.GetSection("ConfigApp"), "port", 80);
        }
Exemple #2
0
 public HardwareMonitoramentoRepository(IRepository <HardwareMonitoramento> repository,
                                        MonitoramentoContext context) : base(context)
 {
     _repository = repository;
 }
 public ResidenciasUsuariosController(MonitoramentoContext context)
 {
     _context = context;
 }
Exemple #4
0
 public RegiaoService(MonitoramentoContext context)
 {
     _context = context;
 }
Exemple #5
0
 public SensorService(MonitoramentoContext context)
 {
     _context = context;
 }
Exemple #6
0
 public RepositorioBaseEF(MonitoramentoContext context)
 {
     _context = context;
 }
 public AreaRepository(MonitoramentoContext context)
 {
     _context = context;
 }
Exemple #8
0
 public UsuariosController(MonitoramentoContext context)
 {
     _context = context;
 }
Exemple #9
0
 public BarragemService(MonitoramentoContext context)
 {
     _context = context;
 }
Exemple #10
0
 public AparelhosController(MonitoramentoContext context)
 {
     _context = context;
 }
Exemple #11
0
 public AlertaSensorRepository(MonitoramentoContext context)
 {
     _context = context;
 }
 public UnitOfWork(MonitoramentoContext monitoramentoContext)
 {
     _monitoramentoContext = monitoramentoContext;
 }
 public AmbientesController(MonitoramentoContext context)
 {
     _context = context;
 }