예제 #1
0
 public DoorService(IUserDoorRepository userDoorRepository, IEventTracker eventTracker, IDoorUnlocker doorUnlocker)
 {
     _userDoorRepository = userDoorRepository;
     _eventTracker       = eventTracker;
     _doorUnlocker       = doorUnlocker;
 }
예제 #2
0
 public DoorsController(IUserDoorRepository userDoorRepository, IDoorMapper doorMapper, IDoorService doorService)
 {
     _userDoorRepository = userDoorRepository;
     _doorMapper         = doorMapper;
     _doorService        = doorService;
 }