public AddPlayerToGameProposalCommandHandler(PlayerIdentity playerIdentity, IGameRepository repository, GameAssert gameAssert, GameService gameService) { _playerIdentity = playerIdentity; _repository = repository; _gameAssert = gameAssert; _gameService = gameService; }
public AddPlayerToAnyGameCommandHander(PlayerIdentity playerIdentity, IGameRepository repository, GameAssert gameAssert, IGameFactory gameFactory, GameService gameService) { _playerIdentity = playerIdentity; _repository = repository; _gameAssert = gameAssert; _gameFactory = gameFactory; _gameService = gameService; }