public SeasonController(
     IMapper mapper,
     ISeasonLogic seasonLogic)
 {
     this.mapper      = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.seasonLogic = seasonLogic ?? throw new ArgumentNullException(nameof(seasonLogic));
 }
 public LeaderboardService(ILeaderboardViewRepository leaderboardViewRepository,
                           IMatchRepository matchRepository,
                           ISeasonLogic seasonLogic)
 {
     _leaderboardViewRepository = leaderboardViewRepository;
     _matchRepository           = matchRepository;
     _seasonLogic = seasonLogic;
 }
Example #3
0
 public LeaderboardService(ILeaderboardViewRepository leaderboardViewRepository,
                           IMatchRepository matchRepository,
                           ISeasonLogic seasonLogic,
                           IPlayerRankHistoryRepository playerRankHistoryRepository)
 {
     _leaderboardViewRepository = leaderboardViewRepository;
     _matchRepository           = matchRepository;
     _seasonLogic = seasonLogic;
     _playerRankHistoryRepository = playerRankHistoryRepository;
 }
Example #4
0
 public PlayerController(IMatchRepository matchRepository,
                         IUserRepository userRepository,
                         IMatchupHistoryCreator matchupHistoryCreator,
                         ISeasonLogic seasonLogic)
 {
     _matchRepository       = matchRepository;
     _userRepository        = userRepository;
     _matchupHistoryCreator = matchupHistoryCreator;
     _seasonLogic           = seasonLogic;
 }
Example #5
0
 public MatchController(IMatchRepository matchRepository,
                        IMatchupResultRepository matchupResultRepository,
                        ILeaderboardService leaderboardService,
                        ILeaderboardViewRepository leaderboardViewRepository,
                        IUserRepository userRepository,
                        ISeasonLogic seasonLogic)
 {
     _matchRepository           = matchRepository;
     _matchupResultRepository   = matchupResultRepository;
     _leaderboardService        = leaderboardService;
     _leaderboardViewRepository = leaderboardViewRepository;
     _userRepository            = userRepository;
     _seasonLogic = seasonLogic;
 }
Example #6
0
 public MatchController(IMatchRepository matchRepository,
                        IMatchupResultRepository matchupResultRepository,
                        ILeaderboardService leaderboardService,
                        ILeaderboardViewRepository leaderboardViewRepository,
                        ISeasonLogic seasonLogic,
                        IHubContext <MessageHub, ITypedHubClient> hubContext,
                        IPlayerRankHistoryRepository playerRankHistoryRepository)
 {
     _matchRepository           = matchRepository;
     _matchupResultRepository   = matchupResultRepository;
     _leaderboardService        = leaderboardService;
     _leaderboardViewRepository = leaderboardViewRepository;
     _seasonLogic = seasonLogic;
     _hubContext  = hubContext;
     _playerRankHistoryRepository = playerRankHistoryRepository;
 }
Example #7
0
 public PlayerController(IMatchRepository matchRepository,
     IUserRepository userRepository, 
     IMatchupHistoryCreator matchupHistoryCreator, 
     ISeasonLogic seasonLogic,
     IUserLogic userLogic,
     IAccountLogic accountLogic,
     IUserLoginInfoRepository userLoginInfoRepository
     )
 {
     _matchRepository = matchRepository;
     _userRepository = userRepository;
     _matchupHistoryCreator = matchupHistoryCreator;
     _seasonLogic = seasonLogic;
     _userLogic = userLogic;
     _accountLogic = accountLogic;
     _userLoginInfoRepository = userLoginInfoRepository;
 }
Example #8
0
 public SeasonsAdministrationController(ISeasonLogic seasonLogic)
 {
     _seasonLogic = seasonLogic;
 }
Example #9
0
 public LeaderboardController(ILeaderboardService leaderboardService,
                              ISeasonLogic seasonLogic)
 {
     _leaderboardService = leaderboardService;
     _seasonLogic        = seasonLogic;
 }
Example #10
0
 public AchievementsController(IAchievementsService achievementsService, ISeasonLogic seasonLogic)
 {
     _achievementsService = achievementsService;
     _seasonLogic         = seasonLogic;
 }