private HierarchicalStructureNode getBuildingBlockNode(BuildingBlockDTO dto) { var buildingBlockNode = _spatialStructureNodeMapper.MapFrom(dto); foreach (var dtoBuilder in dto.Builder) { buildingBlockNode.AddChild(_spatialStructureNodeMapper.MapFrom(dtoBuilder)); } return(buildingBlockNode); }
private ITreeNode getBuildingBlockNode(BuildingBlockDTO dto) { var buildingBlockNode = _nodeMapper.MapFrom(dto); foreach (var dtoBuilder in dto.Builder) { buildingBlockNode.AddChild(_nodeMapper.MapFrom(dtoBuilder)); } return(buildingBlockNode); }