// GetServiceGroups get list of service groups
GetServiceGroups get list of service groups
// GetServiceGroups get list of service groups
func (sgmr *ServiceGroupMongoRepository) GetServiceGroups() ([]ServiceGroup, error) {
	var servicesGroup []ServiceGroup
	err := sgmr.Collection.Find(bson.M{}).All(&servicesGroup)
	return servicesGroup, err
}
func ( sgmr * ServiceGroupMongoRepository ) GetServiceGroups ( ) ( [ ] ServiceGroup , error ) { var servicesGroup [ ] ServiceGroup err := sgmr . Collection . Find ( bson . M { } ) . All ( & servicesGroup ) return servicesGroup , err }
GetServiceGroups get list of service groups
GetServiceGroups get list of service groups