public StandingController(IOptions <LeagueSettings> settings, ITeamDBRepository teamRepo) { _Settings = settings.Value; _TeamRepo = teamRepo; }
public TopScorerController(IOptions <LeagueSettings> settings, ITeamDBRepository teamRepo, ITopScorerDBRepository playerRepo) { _Settings = settings.Value; _TeamRepo = teamRepo; _PlayerRepo = playerRepo; }
public MatchesController(IOptions <LeagueSettings> settings, IMatchDBRepository matchRepo, ITeamDBRepository teamRepo) { _teamRepo = teamRepo; _matchRepo = matchRepo; _Settings = settings.Value; }