Except as otherwise provided in Section 25-2, resignations of elective offices shall be made to the officer, court or county board authorized by law to fill a vacancy in such office by appointment, or to order an election to fill such vacancy.
10 ILCS 5/25-1