public TimerManagerTest() { DbContextOptionsBuilder <PirContext> options = new DbContextOptionsBuilder <PirContext>(); options.UseSqlServer(Secrets.ConnectionString); _context = new PirContext(options.Options); }
public TimerController(PirContext context) { _manager = new TimerManager(context); }
public MotionController(PirContext context) { _manager = new MotionManager(context); }
public TimerManager(PirContext context) { _context = context; }
public SensorController(PirContext context) { _manager = new SensorManager(context); }
public MotionManager(PirContext context) { _context = context; }
public SensorManager(PirContext context) { _context = context; }