public ShiftManager(SensorManager sensorManager) { ShiftRepo = new ShiftRepository(); FactoryManager = new FactoryManager(); SensorManager = sensorManager; }
public ShiftManager() { ShiftRepo = new ShiftRepository(); RoleManager = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>(new KKUContext())); UserManager = new UserManager(new UserStore <User>(new KKUContext())); FactoryManager = new FactoryManager(); SensorManager = new SensorManager(); }