The board of supervisors may contract with the governing body of a city in the county to secure the performance by the city health officer or other city health employees of any or all functions related to public health in any unincorporated territory adjacent to the city.