public void TestFeaturedGames() { var riotApi = new RiotGamesApi(_apiKey); // var games = riotApi.GetFeaturedGames(); Assert.IsNotNull(games); }
public ActionResult FeaturedGames() { IRiotGamesApi riot = new RiotGamesApi(_apikey); var games = riot.GetFeaturedGames(); // SummonerViewModel summonerVm = _mapper.Map<SummonerViewModel>(summoner); return(View(games)); }