public function insertarTareaUsuario($tareaUsuario)
 {
     $manager = new ConnectionManager();
     $tareaUsuarioDAO = $manager->getTareaUsuarioDAO();
     try {
         return $tareaUsuarioDAO->insertar($tareaUsuario);
     } finally {
         $manager->close();
     }
 }
 public function buscarTarea($buscar)
 {
     $manager = new ConnectionManager();
     $tareaDAO = $manager->getTareaDAO();
     try {
         $list = $tareaDAO->buscarTareas($buscar);
         return $list;
     } finally {
         $manager->close();
     }
 }
 public function buscarUsuarios($buscar)
 {
     $manager = new ConnectionManager();
     $usuarioDAO = $manager->getUsuarioDAO();
     try {
         return $usuarioDAO->buscarUsuarios($buscar);
     } finally {
         $manager->close();
     }
 }