protected function GenerateResponse() { try { $this->response = PersonalYAgentesController::PasswordRecordarUsuario(isset($_POST['clave']) ? $_POST['clave'] : "", isset($_POST['email']) ? $_POST['email'] : ""); } catch (Exception $e) { //Logger::error($e); throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage())); } }