Resignations shall be made as follows: By the state officers and members of the legislature, to the governor; by all county officers, to the county commissioners of their respective counties; by all other officers, holding their offices by appointment, to the body, board or officer that appointed them.