public static void Delete(Product id, string cnString) { ProdcuctDB db = new ProdcuctDB(cnString); db.Delete((IBaseProps)id); }
/// <summary> /// Deletes the customer identified by the id. /// </summary> public static void Delete(Product id) { ProdcuctDB db = new ProdcuctDB(); db.Delete((IBaseProps)id); }