public async Task <List <Hero> > Get() { var client = new HeroMetaClient(); var heroes = await client.GetHeroes(); return(heroes); }
public async Task <List <Ability> > Get() { var client = new HeroMetaClient(); var heroes = await client.GetHeroes(); var abilities = heroes.SelectMany(_ => _.abilities).ToList(); return(abilities); }