public async Task <IEnumerable <Mushrooms> > GetMushroomsAsync() { return(Mushrooms.FromJson(await Client.GetStringAsync("https://raw.githubusercontent.com/daryl-crosbie/JSON/master/Mushrooms.json"))); /*var json = await Client.GetStringAsync("https://raw.githubusercontent.com/daryl-crosbie/JSON/master/Mushrooms.json"); * var shrooms = Mushrooms.FromJson(json); * return shrooms; */ }