public RiotApiController(LOLHUBApplicationDbContext context, IRiotApiService riotApiService, ISummonerInfoRepository repository, IPlayerRepository playerRepository, IGenerateCode code, IMatchRepository matchRepository, ITournamentRepository tournamentRepository) { _context = context; _riotApiService = riotApiService; _repository = repository; _playerRepository = playerRepository; _matchRepository = matchRepository; _tournamentRepository = tournamentRepository; _code = code; }
public PlayerStatsController(IRiotApiService riotApiService) { this.riotApiService = riotApiService; }
public WebPageController(IRiotApiService riotApiService, ISendgridService sendgridService) { this.riotApiService = riotApiService ?? throw new ArgumentNullException(nameof(riotApiService)); this.sendgridService = sendgridService ?? throw new ArgumentNullException(nameof(sendgridService)); }