public async Task <IActionResult> SaveCovid(Covid covid)
        {
            await covidService.SaveCovid(covid);

            //IQueryable<Covid> covids = covidService.GetList();
            //return Ok(covids);
            return(Ok(covidService.GetCovidCharts()));
        }
Ejemplo n.º 2
0
 public async Task GetCovidLlist()
 {
     await Clients.All.SendAsync("ReceiveCovidList", covidService.GetCovidCharts());
 }