Ejemplo n.º 1
0
        public async Task <ActionResult <IEnumerable <Airport> > > GetAirportsByCityId(int cityId)
        {
            var cities = await _airportService.GetAirportsByCityIdAsync(cityId);

            return(Ok(cities));
        }