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