public CheckBets(IUserBetRepository userBetRepository, IBetRepository betRepository, ICoinGeckoAPIService coinGeckoAPIService, IBetWinnersRepository betWinnersRepository, IDiscordWebhookService discordWebhookService)
 {
     _userBetRepository     = userBetRepository;
     _betRepository         = betRepository;
     _coinGeckoAPIService   = coinGeckoAPIService;
     _betWinnersRepository  = betWinnersRepository;
     _discordWebhookService = discordWebhookService;
 }
Esempio n. 2
0
 public TodaysGamesService(IUserBetRepository userBetRepository, ITeamRepository teamRepository,
                           IUserRepository userRepository,
                           IResultRepository resultRepository, IGameScoreCalculator gameScoreCalculator,
                           IScoreBasisRepository scoreBasisRepository, IGameService gameService)
 {
     _userBetRepository    = userBetRepository;
     _teamRepository       = teamRepository;
     _userRepository       = userRepository;
     _resultRepository     = resultRepository;
     _gameScoreCalculator  = gameScoreCalculator;
     _scoreBasisRepository = scoreBasisRepository;
     _gameService          = gameService;
 }
Esempio n. 3
0
 public BetController(JavaScriptSerializer javaScriptSerializer,
                      IUserBetRepository userBetRepository,
                      ITeamRepository teamRepository,
                      IUserRepository userRepository,
                      IGroupRepository groupRepository, IGameRepository gameRepository, IPlayerService playerService, ICacheService cacheService)
 {
     _javaScriptSerializer = javaScriptSerializer;
     _userBetRepository    = userBetRepository;
     _teamRepository       = teamRepository;
     _userRepository       = userRepository;
     _groupRepository      = groupRepository;
     _gameRepository       = gameRepository;
     _playerService        = playerService;
 }
Esempio n. 4
0
 public ResultController(
     IResultRepository resultRepository,
     IUserBetRepository userBetRepository,
     JavaScriptSerializer javaScriptSerializer,
     BetController betController,
     IUserScoreService userScoreService,
     ICacheService cacheService)
 {
     _resultRepository     = resultRepository;
     _userBetRepository    = userBetRepository;
     _javaScriptSerializer = javaScriptSerializer;
     _betController        = betController;
     _userScoreService     = userScoreService;
     _cacheService         = cacheService;
 }
Esempio n. 5
0
 public UserScoreService(
     IUserScoreRepository userScoreRepository,
     IGameRepository gameRepository,
     IScoreBasisRepository scoreBasisRepository,
     IGameScoreCalculator gameScoreCalculator,
     IUserBetRepository userBetRepository,
     ITopScorerScoreCalculator topScorerScoreCalculator, IBonusScoreCalculator bonusScoreCalculator)
 {
     _userScoreRepository      = userScoreRepository;
     _gameRepository           = gameRepository;
     _scoreBasisRepository     = scoreBasisRepository;
     _gameScoreCalculator      = gameScoreCalculator;
     _userBetRepository        = userBetRepository;
     _topScorerScoreCalculator = topScorerScoreCalculator;
     _bonusScoreCalculator     = bonusScoreCalculator;
 }