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