Beispiel #1
0
 public BaseController(IMapper mapper, ILeagueData leagueData, IPecTecClient client, IStaticDataRetrieve data, IChampionRepository champRepo)
 {
     Mapper     = mapper ?? throw new ArgumentNullException(nameof(mapper));
     LeagueData = leagueData ?? throw new ArgumentNullException(nameof(leagueData));
     Client     = client ?? throw new ArgumentNullException(nameof(client));
     Data       = data ?? throw new ArgumentNullException(nameof(data));
     ChampRepo  = champRepo ?? throw new ArgumentNullException(nameof(champRepo));
 }
Beispiel #2
0
 public LeagueData(IClient client, IMapper mapper, IChampionRepository championRepo, ILiveDataRetrieve liveData, IStaticDataRetrieve data, ISummonerRepository summonerRepo)
 {
     _client       = client;
     _mapper       = mapper;
     _championRepo = championRepo;
     _liveData     = liveData;
     _data         = data;
     _summonerRepo = summonerRepo;
 }
 public SearchController(IMapper mapper, ILeagueData leagueData, IPecTecClient client, IStaticDataRetrieve data, IChampionRepository champRepo) : base(mapper, leagueData, client, data, champRepo)
 {
 }