public async Task <Country> Delete(Guid countryId)
        {
            var dbCountry = await GetOne(countryId);

            if (dbCountry == null)
            {
                return(null);
            }

            foreach (City city in dbCountry.Cities)
            {
                foreach (Airport airport in city.Airports)
                {
                    airport.IsDeleted = true;
                }

                city.IsDeleted = true;
            }

            dbCountry.IsDeleted = true;

            await _dbContext.SaveChangesAsync();

            return(dbCountry);
        }
        public async Task <Airport> Delete(Guid airportID)
        {
            var dbAirport = await GetOne(airportID);

            if (dbAirport == null)
            {
                return(null);
            }

            dbAirport.IsDeleted = true;

            await _dbContext.SaveChangesAsync();

            return(dbAirport);
        }
        public async Task <City> Delete(Guid cityId)
        {
            var dbCity = await GetOne(cityId);

            if (dbCity == null)
            {
                return(null);
            }

            foreach (Airport airport in dbCity.Airports)
            {
                airport.IsDeleted = true;
            }

            dbCity.IsDeleted = true;

            await _dbContext.SaveChangesAsync();

            return(dbCity);
        }