/** * Save Grop module rights * @return Skill */ public function saveUserGroupModelRights(ModuleRights $moduleRights) { try { $moduleRights->save(); } catch (Exception $e) { throw new AdminServiceException($e->getMessage()); } }
/** * Saves ModuleRights * @param ModuleRights $moduleRights * @returns boolean * @throws DaoException */ public function saveUserGroupModelRights(ModuleRights $moduleRights) { try { $moduleRights->save(); return true; } catch (Exception $e) { throw new DaoException($e->getMessage()); } }