Exemplo n.º 1
0
        public async Task <IActionResult> GetAllAsync()
        {
            var cities = await _cityServices.GetAllAsync();

            if (cities.Count() >= 1)
            {
                return(Ok(cities));
            }
            return(Ok());
        }