// UpdateApplicationGroup update application group with id appGroupID
UpdateApplicationGroup update application group with id appGroupID
// UpdateApplicationGroup update application group with id appGroupID
func (agmr *AppGroupMongoRepository) UpdateApplicationGroup(appGroupID string, newGroup ApplicationGroup) error {
	appGroupIDHex := bson.ObjectIdHex(appGroupID)
	updateGroupQuery := bson.M{"$set": bson.M{"name": newGroup.Name}}
	return agmr.Collection.UpdateId(appGroupIDHex, updateGroupQuery)
}
func ( agmr * AppGroupMongoRepository ) UpdateApplicationGroup ( appGroupID string , newGroup ApplicationGroup ) error { appGroupIDHex := bson . ObjectIdHex ( appGroupID ) updateGroupQuery := bson . M { " " : bson . M { " " : newGroup . Name } } return agmr . Collection . UpdateId ( appGroupIDHex , updateGroupQuery ) }
UpdateApplicationGroup update application group with id appGroupID
UpdateApplicationGroup update application group with id appGroupID