public PayoutService(ILogger <PayoutService> logger, IUserService userService, IGameTransactionService gameTransactionService, IGameHistoryService gameHistoryService) { this.logger = logger; this.userService = userService; this.gameTransactionService = gameTransactionService; this.gameHistoryService = gameHistoryService; }
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; }