public static bool Delete(Int32 productAssetId) { ProductAsset productAsset = new ProductAsset(); if (productAsset.Load(productAssetId)) { return(productAsset.Delete()); } return(false); }
public static bool Delete(ProductAsset productAsset) { return(productAsset.Delete()); }