public async Task GetCasesRegionTestIn() { DataCovidAPI api = DataCovidAPI.getInstance(); var result = await api.GetCasesRegion("Guatemala"); Assert.AreEqual(0, result.Count); }
public async Task <ActionResult> TableTopProvince(string iso) { var model = await CovidAPI.GetCasesRegion(iso); if (Session != null) { Session.Add("infoExport", model); Session.Add("region", false); } return(View("TableTopProvince", model)); }