/** * Save Employee Tax Exemptios * @param EmpUsTaxExemption $empUsTaxExemption * @returns EmpUsTaxExemption * @throws DaoException */ public function saveEmployeeTaxExemptions(EmpUsTaxExemption $empUsTaxExemption) { try { $empUsTaxExemption->save(); return $empUsTaxExemption; // @codeCoverageIgnoreStart } catch (Exception $e) { throw new DaoException($e->getMessage(), $e->getCode(), $e); } // @codeCoverageIgnoreEnd }
/** * Save Employee Tax Exemptios * @param EmpUsTaxExemption $empUsTaxExemption * @returns boolean * @throws DaoException */ public function saveEmployeeTaxExemptions(EmpUsTaxExemption $empUsTaxExemption) { try { $empUsTaxExemption->save(); return true; } catch (Exception $e) { throw new DaoException($e->getMessage()); } }