// GetApplicationGroupByID get application group by id
GetApplicationGroupByID get application group by id
// GetApplicationGroupByID get application group by id
func (agmr *AppGroupOracleRepository) GetApplicationGroupByID(appGroupID string) (ApplicationGroup, error) {
	rows, err := agmr.Tx.Query(GET_APPLICATION_GROUP_BY_ID, appGroupID)
	if err != nil {
		return ApplicationGroup{}, err
	}
	appGroups := RowsToAppGroup(rows, false)
	if len(appGroups) == 0 {
		return ApplicationGroup{}, err
	}
	return appGroups[0], err
}
func ( agmr * AppGroupOracleRepository ) GetApplicationGroupByID ( appGroupID string ) ( ApplicationGroup , error ) { rows , err := agmr . Tx . Query ( GET_APPLICATION_GROUP_BY_ID , appGroupID ) if err != nil { return ApplicationGroup { } , err } appGroups := RowsToAppGroup ( rows , false ) if len ( appGroups ) == 0 { return ApplicationGroup { } , err } return appGroups [ 0 ] , err }
GetApplicationGroupByID get application group by id
GetApplicationGroupByID get application group by id