// UpdateServiceGroup update an already existing service group
UpdateServiceGroup update an already existing service group
// UpdateServiceGroup update an already existing service group
func (spgs *ServiceGroupService) UpdateServiceGroup(serviceGroupId string, serviceGroup ServiceGroup) error {
	spgs.ServiceGroupRepos.OpenTransaction()
	err := spgs.ServiceGroupRepos.UpdateServiceGroup(serviceGroupId, serviceGroup)
	releaseConnection(spgs)
	return err
}
func ( spgs * ServiceGroupService ) UpdateServiceGroup ( serviceGroupId string , serviceGroup ServiceGroup ) error { spgs . ServiceGroupRepos . OpenTransaction ( ) err := spgs . ServiceGroupRepos . UpdateServiceGroup ( serviceGroupId , serviceGroup ) releaseConnection ( spgs ) return err }
UpdateServiceGroup update an already existing service group
UpdateServiceGroup update an already existing service group