Exemplo n.º 1
0
        public IActionResult Get([FromQuery] string[] name)
        {
            var continents = _countryManager.GetContinents(name);

            if (continents == null)
            {
                return(NotFound());
            }

            return(new JsonResult(continents));
        }