The governing body of each city and county shall adopt ordinances or orders, as appropriate, necessary for the city or county to be eligible to participate in the National Flood Insurance Program.