public bool NodeExists(string nodeId, string parentId) { int nodeCount = _dao.CountXbrlNode(nodeId, parentId); if (nodeCount == 0) { return(false); } else { return(true); } }