Resignations of elective officers and of members of boards and commissions shall be made in writing and filed with the clerk and shall be acted upon by the council at its next regular or special meeting following receipt thereof by the clerk. Resignations of appointive officers shall be made in writing to the appointing officer or body and shall be acted upon immediately.