public static bool Delete(Int32 productId, Int32 kitComponentId) { ProductKitComponent productKitComponent = new ProductKitComponent(); if (productKitComponent.Load(productId, kitComponentId)) { return(productKitComponent.Delete()); } return(false); }
public static bool Delete(ProductKitComponent productKitComponent) { return(productKitComponent.Delete()); }