public StandingsServices(IStandingsRepository standingsRepository, IMatchRepository matchRepository, IMatchStatisticsRepository matchStatisticsRepository) { _standingsRepository = standingsRepository; _matchRepository = matchRepository; _matchStatisticsRepository = matchStatisticsRepository; }
public MatchServices(IMatchRepository matchRepository, IRepository <Team> repository, IPlayerRepository playerRepository, IRepository <MatchStatistics> statisticsRepository, IStandingsRepository standingsRepository) { _matchRepository = matchRepository; _repository = repository; _playerRepository = playerRepository; _statisticsRepository = statisticsRepository; _standingsRepository = standingsRepository; }
public TeamApplication() { leagueRepository = new LeagueRepository(new RepositoryNHibernate <League>()); teamRepository = new TeamRepository(new RepositoryNHibernate <Team>()); competitionRepository = new CompetitionRepository(new RepositoryNHibernate <Competition>()); standingsRepository = new StandingsRepository(new RepositoryNHibernate <SeasonTeam>(), competitionRepository); teamRankingRepository = new TeamRankingRepository(new RepositoryNHibernate <TeamRanking>()); scheduleGameRepository = new ScheduleGameRepository(new RepositoryNHibernate <ScheduleGame>()); gameDataRepository = new GameDataRepository(new RepositoryNHibernate <GameData>()); competitionConfigRepository = new CompetitionConfigRepository(new RepositoryNHibernate <CompetitionConfig>()); seasonRepository = new SeasonRepository(new RepositoryNHibernate <Season>()); competitionTeamRepository = new CompetitionTeamRepository(new RepositoryNHibernate <CompetitionTeam>()); LeagueService = new LeagueService(leagueRepository); StandingsService = new StandingsService(standingsRepository, competitionRepository); TeamService = new TeamService(teamRepository); GameDataService = new GameDataService(gameDataRepository, leagueRepository, scheduleGameRepository, competitionRepository, competitionConfigRepository, TeamService, CompetitionService); ScheduleGameService = new ScheduleGameService(scheduleGameRepository); CompetitionService = new CompetitionService(competitionRepository); PlayoffService = new PlayoffService(competitionRepository); }
public StandingsController(IStandingsRepository standingsRepository, ILoggerFactory factory) { Logger = factory.CreateLogger("StandingsController"); StandingsRepository = standingsRepository; }
public MatchRespository(BundesligaContext context, IStandingsRepository standingsRepository) : base(context) { _standingRepository = standingsRepository; }
public StandingsService(IStandingsRepository StandingsRepository, ICompetitionRepository CompetitionRepository) { standingsRepository = StandingsRepository; competitionRepository = CompetitionRepository; mapper = new SeasonTeamToStandingsTeamViewModelMapper(); }
public StandingsService(IStandingsRepository repository) { this.repository = repository; }