public IActionResult Get([FromQuery] string[] name) { var continents = _countryManager.GetContinents(name); if (continents == null) { return(NotFound()); } return(new JsonResult(continents)); }