Esempio n. 1
0
        public ActionResult Champions()
        {
            IRiotGamesApi riot      = new RiotGamesApi(_apikey);
            var           champions = riot.GetChampions();

            //  SummonerViewModel summonerVm = _mapper.Map<SummonerViewModel>(summoner);

            return(View(champions));
        }
Esempio n. 2
0
        public void TestChamions()
        {
            var riotApi = new RiotGamesApi(_apiKey);
            //   var summoner = riotApi.GetSummoner("RiotSchmick");

            var champ = riotApi.GetChampions();

            Assert.IsNotNull(champ);
        }