public MatchController(IMatchService matchService, IMatchEventService matchEventService, IMatchGoalService matchGoalService, ITeamSeasonService teamSeasonService) { _matchService = matchService; _matchEventService = matchEventService; _matchGoalService = matchGoalService; _teamSeasonService = teamSeasonService; }
/// <summary> /// /// </summary> /// <param name="apiBaseUrl"></param> /// <param name="primarySubscriptionKey"></param> /// <param name="secondarySubscriptionKey"></param> public FantasyDataClient(Uri apiBaseUrl, string primarySubscriptionKey, string secondarySubscriptionKey) { this.StadiumService = new StadiumService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); this.PlayerService = new PlayerService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); this.TeamService = new TeamService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); this.BoxScoreService = new BoxScoreService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); this.GameService = new GameService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); this.PlayerGameService = new PlayerGameService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); this.PlayerSeasonService = new PlayerSeasonService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); this.TeamGameService = new TeamGameService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); this.TeamSeasonService = new TeamSeasonService(apiBaseUrl.AbsoluteUri, primarySubscriptionKey, secondarySubscriptionKey); }
public StartNewGameController( ITeamService teamService, IGameDetailsService gameDetailsService, IPlayerCreatorService playerCreatorService, ISeasonService seasonService, ITeamSeasonService teamSeasonService) { _teamSeasonService = teamSeasonService; _teamService = teamService; _gameDetailsService = gameDetailsService; _playerCreatorService = playerCreatorService; _seasonService = seasonService; }
public GameDetailsService(IGameDetailsQuery gameDetailsQuery, ISeasonService seasonService, IConfiguration configuration, ITeamService teamService, ITeamSeasonService teamSeasonService, INewsService newsService, IPlayerCreatorService playerCreatorService, IPlayerService playerService) { _gameDetailsQuery = gameDetailsQuery; _seasonService = seasonService; _configuration = configuration; _teamService = teamService; _teamSeasonService = teamSeasonService; _playerCreatorService = playerCreatorService; _newsService = newsService; _playerService = playerService; }
public LeagueController(ITeamSeasonService teamSeasonService) { _teamSeasonService = teamSeasonService; }
public MatchController(ITeamSeasonService teamSeasonService, IMatchService matchService) { _teamSeasonService = teamSeasonService; _matchService = matchService; }