A city and a county may, by contract, construct, purchase, or lease and manage a city-county building to house the offices of city government and county government.