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