public ActionResult Champions() { IRiotGamesApi riot = new RiotGamesApi(_apikey); var champions = riot.GetChampions(); // SummonerViewModel summonerVm = _mapper.Map<SummonerViewModel>(summoner); return(View(champions)); }
public void TestChamions() { var riotApi = new RiotGamesApi(_apiKey); // var summoner = riotApi.GetSummoner("RiotSchmick"); var champ = riotApi.GetChampions(); Assert.IsNotNull(champ); }