public GameService(IGameCommandRepository gameRepository, ILoggerFactory loggerFactory) { _repository = gameRepository; _logger = loggerFactory.CreateLogger <GameService>(); }
public DeleteGameCommandHandler(IGameCommandRepository repository, IGameService gameService, ILoggerFactory iLoggerFactory) { _repository = repository; _gameService = gameService; _logger = iLoggerFactory.CreateLogger <DeleteGameCommandHandler>(); }
public CreateGameCommandHandler(IGameCommandRepository gameCommandRepository, IEventPublisher eventPublisher) { _gameCommandRepository = gameCommandRepository; _eventPublisher = eventPublisher; }
public DeleteGameCommandHandler(IGameCommandRepository gameCommandRepository) { _gameCommandRepository = gameCommandRepository; }