public static bool Delete(Int32 categoryId, Int32 catalogNodeId, Byte catalogNodeTypeId) { CatalogNode catalogNode = new CatalogNode(); if (catalogNode.Load(categoryId, catalogNodeId, catalogNodeTypeId)) { return(catalogNode.Delete()); } return(false); }
public static bool Delete(CatalogNode catalogNode) { return(catalogNode.Delete()); }