def inhabilitar_docente(self,parameter, id_object): conn = Connection('docente') conn.disable(parameter, id_object) return True
def inhabilitar_curso(self, parameter, id_object): conn = Connection('curso') conn.disable(parameter, id_object) return True
def inhabilitar_periodo(self, parameter, id_object): conn = Connection('periodo') conn.disable(parameter, id_object) return True
def inhabilitar_categoria(self, parameter, id_object): conn = Connection('categoria') conn.disable(parameter, id_object) return True