Esempio n. 1
0
        public async Task <IActionResult> GetByIdAsync(int id)
        {
            var city = await _cityServices.GetCityAsync(id);

            if (city != null)
            {
                return(Ok(city));
            }
            return(Ok());
        }