Beispiel #1
0
        } //Loading CountryLists() Page ENDS

        public async void GetDeathNum(string Country, Label DeathLbl)
        {
            var deathNum = await CAPI.ReturnDeaths(Country);

            DeathLbl.Text = Convert.ToString(deathNum);
        }
Beispiel #2
0
        /*
         *  Get data form the Covid19 API:
         *
         *  Deaths, Recovered and Confirmed
         *
         */
        public async Task <int> Deaths(string country)
        {
            var a = await CAPI.ReturnDeaths(country);

            return(a);
        }