public IList <RelatedIdsResult> GetRelatedIds(IClassifiable classifiable, RelationDirection direction = RelationDirection.Undefined, TaxonomyNode type = null) { return(relationRepo.GetRelatedIds(classifiable, direction, type == null ? null : type.entity)); }