Calling setEnabled + transaction in BatchRegisterProfessorsCommand close #250