public async Task <IActionResult> SaveCovid(CovidClass covidClass) { await _covidService.SaveCovid(covidClass); IQueryable <CovidClass> covid = _covidService.GetList(); return(Ok(covid)); }
public async Task <IActionResult> SaveCovid(Covid covid) { await _service.SaveCovid(covid); IQueryable <Covid> covids = _service.GetList(); return(Ok(_service.GetCovidChartList())); }