// UpdateApplicationGroup update application group with id appGroupID
UpdateApplicationGroup update application group with id appGroupID
// UpdateApplicationGroup update application group with id appGroupID
func (agmr *AppGroupOracleRepository) UpdateApplicationGroup(appGroupID string, newGroup ApplicationGroup) error {
	_, err := agmr.Tx.Exec(UPDATE_APPLICATION_GROUP,
		newGroup.Name, appGroupID,
	)
	for _, rs := range newGroup.Services {
		AddServiceToGroupQuery(appGroupID, rs.Hex(), agmr.Tx)
	}
	return err
}
func ( agmr * AppGroupOracleRepository ) UpdateApplicationGroup ( appGroupID string , newGroup ApplicationGroup ) error { _ , err := agmr . Tx . Exec ( UPDATE_APPLICATION_GROUP , newGroup . Name , appGroupID , ) for _ , rs := range newGroup . Services { AddServiceToGroupQuery ( appGroupID , rs . Hex ( ) , agmr . Tx ) } return err }
UpdateApplicationGroup update application group with id appGroupID
UpdateApplicationGroup update application group with id appGroupID