public async Task <List <CovidCountry> > GetAllCountry(string country, [FromQuery(Name = "startDate")] DateTime startDate, [FromQuery(Name = "endDate")] DateTime endDate) { var covidInfo = await _service.GetAllCovidInfo(country, startDate, endDate); return(covidInfo); }