public async Task <IActionResult> All() { return(Ok(await _coronaVirusService.GetAllData())); }
public async Task GetAll() { await Clients.Caller.SendAsync("getAll", await _coronaVirus.GetAllData()); }
public async Task <IActionResult> All() { return(Ok(await _coronaVirusService.GetAllData())); }
public async Task GetAll() { await Clients.Caller.SendAsync("getAll", await _coronaVirus.GetAllData()); }