Exemplo n.º 1
0
 public PayoutService(ILogger <PayoutService> logger,
                      IUserService userService,
                      IGameTransactionService gameTransactionService,
                      IGameHistoryService gameHistoryService)
 {
     this.logger                 = logger;
     this.userService            = userService;
     this.gameTransactionService = gameTransactionService;
     this.gameHistoryService     = gameHistoryService;
 }
Exemplo n.º 2
0
 public GameService(GameModuleCollection gameModules,
                    IUserService userService,
                    IBonusService bonusService,
                    IPayoutService payoutService,
                    IGameHistoryService gameHistoryService,
                    IGameTransactionService transactionService,
                    IDistributedCache cache,
                    CachedSettings cachedSettings,
                    IValidationStrategy validator,
                    ILogger <GameService> logger)
 {
     this.gameModules        = gameModules;
     this.userService        = userService;
     this.bonusService       = bonusService;
     this.payoutService      = payoutService;
     this.gameHistoryService = gameHistoryService;
     this.transactionService = transactionService;
     this.cache          = cache;
     this.cachedSettings = cachedSettings;
     this.validator      = validator;
     this.logger         = logger;
 }