Пример #1
0
 public GameQueries(
     IRepository gameRepository,
     IGameWalletQueries walletQueries)
 {
     _gameRepository = gameRepository;
     _walletQueries  = walletQueries;
 }
Пример #2
0
 public GameCommands(
     IRepository repository,
     IGameWalletOperations walletCommands,
     IGameWalletQueries walletQueries,
     IGameEventsProcessor gameEventsProcessor)
 {
     _gameEventsProcessor = gameEventsProcessor;
     _walletOperations    = walletCommands;
     _walletQueries       = walletQueries;
     _repository          = repository;
 }