func (r *GormWorkItemLinkRepository) List(ctx context.Context) ([]WorkItemLink, error) {
	var modelLinks []WorkItemLink
	db := r.db.Find(&modelLinks)
	if db.Error != nil {
		return nil, db.Error
	}
	return modelLinks, nil
}
// List returns all work item links if wiID is nil; otherwise the work item links are returned
// that have wiID as source or target.
// TODO: Handle pagination
List returns all work item links if wiID is nil; otherwise the work item links are returned
that have wiID as source or target.
TODO: Handle pagination
// List returns all work item links if wiID is nil ; otherwise the work item links are returned // that have wiID as source or target . // TODO : Handle pagination
func (r *GormWorkItemLinkRepository) List(ctx context.Context) ([]WorkItemLink, error) {
	var modelLinks []WorkItemLink
	db := r.db.Find(&modelLinks)
	if db.Error != nil {
		return nil, db.Error
	}
	return modelLinks, nil
}
func ( r * GormWorkItemLinkRepository ) List ( ctx context . Context ) ( [ ] WorkItemLink , error ) { var modelLinks [ ] WorkItemLink db := r . db . Find ( & modelLinks ) if db . Error != nil { return nil , db . Error } return modelLinks , nil }
List returns all work item links if wiID is nil; otherwise the work item links are returned
that have wiID as source or target.
List returns all work item links if wiID is nil ; otherwise the work item links are returned that have wiID as source or target .