public void RemoveNode(Node node) { if (node.GetLocation() == null) throw new InvalidNodeException(); _indexRepo.RemoveNodeFromIndex(this,node); }