(a) Nothing in this act shall be construed to require or prohibit joint primaries or to require or prohibit the commissioners or any other public agency to bear any expense of conducting primaries not otherwise required by law. (b) The board shall have the authority to conduct municipal elections and primaries for any municipal corporation located within the county if such municipal corporation has entered into a contract for that purpose with the county board of commissioners.