/** * save Education * @param EmpEducation $empEdu * @returns EmployeeEducation */ public function saveEmployeeEducation(EmployeeEducation $empEdu) { try { $empEdu->save(); return $empEdu; // @codeCoverageIgnoreStart } catch (Exception $e) { throw new DaoException($e->getMessage(), $e->getCode(), $e); } // @codeCoverageIgnoreEnd }
/** * save Education * @param EmpEducation $empEdu * @returns boolean */ public function saveEducation(EmployeeEducation $empEdu) { try { $empEdu->save(); return true; } catch (Exception $e) { throw new DaoException($e->getMessage()); } }