public async Task <IActionResult> SaveCovid(Covid covid) { await _service.SaveCovid(covid); // IQueryable<Covid> covidList = _service.GetList(); return(Ok(_service.GetCovidChartList())); }
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 covidService.SaveCovid(covid); //IQueryable<Covid> covids = covidService.GetList(); //return Ok(covids); return(Ok(covidService.GetCovidCharts())); }
public async Task <IActionResult> SaveCovid(Covid covid) { await _covidService.SaveCovid(covid); return(Ok(_covidService.GetCovidChartList())); }