Пример #1
0
 public ResultController(ScoresRepository scoresRepository, MatchesRespository matchesRespository, TeamsRepository teamsRepository, ResultsRepository resultsRepository)
 {
     _scoresRepository   = scoresRepository;
     _matchesRespository = matchesRespository;
     _teamsRepository    = teamsRepository;
     _resultsRepository  = resultsRepository;
 }
Пример #2
0
 public MatchesController(MatchesRespository matchesRepository)
 {
     _matchesRepository = matchesRepository;
 }