Esempio n. 1
0
 public StaticDataController(IStaticDataEndpoints staticDataEndpoints,
                             IChampionStaticDataRepository championStaticDataRepository,
                             IItemStaticDataRepository itemStaticDataRepository,
                             ISummonerSpellStaticDataRepository summonerSpellStaticDataRepository,
                             IRunesStaticDataRepository runesStaticDataRepository)
 {
     _staticDataEndpoints               = staticDataEndpoints;
     _championStaticDataRepository      = championStaticDataRepository;
     _itemStaticDataRepository          = itemStaticDataRepository;
     _summonerSpellStaticDataRepository = summonerSpellStaticDataRepository;
     _runesStaticDataRepository         = runesStaticDataRepository;
 }
        public MatchControllerUtils(
            IRiotApi riotApi,
            IItemStaticDataRepository itemStaticDataRepository,
            ISummonerSpellStaticDataRepository summonerSpellStaticDataRepository,
            IChampionStaticDataRepository championStaticDataRepository,
            IRunesStaticDataRepository runeStaticDataReposistory)
        {
            _riotApi = riotApi;

            _itemStaticDataRepository          = itemStaticDataRepository;
            _summonerSpellStaticDataRepository = summonerSpellStaticDataRepository;
            _championStaticDataRepository      = championStaticDataRepository;
            _runeStaticDataReposistory         = runeStaticDataReposistory;
        }