public async Task<CovidMasterData> GetAllCovidData() { CovidMasterData data = await GetCaseData("Confirmed", null); await GetCaseData("Deaths", data); await GetCaseData("Recovered", data); data.GenerateCountryData(); data.Trim(); return data; }
public async Task GetWebData() { CovidDataService service = new CovidDataService(); CovidMasterData data = await service.GetCaseData("Confirmed", null); await service.GetCaseData("Deaths", data); await service.GetCaseData("Recovered", data); data.GenerateCountryData(); Assert.IsTrue(data.LocaleData.Count > 100); }