Esempio n. 1
0
 public HomeController(
     ILightBulbTogglingService lightBulbTogglingService,
     ILightBulbQueryService lightBulbQueryService,
     AppDbContext appDbContext
     )
 {
     _lightBulbTogglingService = lightBulbTogglingService;
     _lightBulbQueryService    = lightBulbQueryService;
     _appDbContext             = appDbContext;
 }
Esempio n. 2
0
 public LightBulbHub(ILightBulbTogglingService lightBulbTogglingService, AppDbContext appDbContext)
 {
     _lightBulbTogglingService = lightBulbTogglingService;
     _appDbContext             = appDbContext;
 }