The board shall have the authority to contract with any municipality located within the county for the holding by the board of any primary or election to be conducted within the municipality and to contract as otherwise necessary for conduction of an election; provided, however, that any such contract shall be approved and ratified by the governing authority of the county.