/** * Save MailNotification * @param MailNotification $mailNotification * @returns boolean * @throws DaoException */ public function saveMailNotification(MailNotification $mailNotification) { try { $mailNotification->save(); return true; } catch (Exception $e) { throw new DaoException($e->getMessage()); } }