public IActionResult Index() { List <Pokemon> list = new List <Pokemon>(); Task.Run(async() => { list = await FetchData.GetPokemon(); }).GetAwaiter().GetResult(); return(View(list)); }