Beispiel #1
0
        public async Task <ActionResult> Cities(int id)
        {
            var cities = await _repo.GetCitiesAsync(id);

            if (cities == null)
            {
                return(NotFound());
            }
            return(Ok(cities));
        }