public static bool DeleteProductItem(Int32 id) { dbConnect connect = new dbConnect(); bool ret = connect.DeleteProductItem(id); connect.Close(); return(ret); }
public static bool Delete(string barcode) { dbConnect connect = new dbConnect(); bool ret = connect.DeleteProductItem(barcode); connect.Close(); return(ret); }