public static bool Delete(Int32 productImageId) { ProductImage productImage = new ProductImage(); if (productImage.Load(productImageId)) { return(productImage.Delete()); } return(false); }
public static bool Delete(ProductImage productImage) { return(productImage.Delete()); }