public void DeleteProduct(string productId) { ProductDAL product = new ProductDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(true); product.DeleteProduct(productId, db); db.Stop(); } catch (Exception) { throw; } finally { product = null; } }
public void DeleteProduct(string productId) { ProductDAL product = new ProductDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(true); product.DeleteProduct(productId, db); db.Stop(); } catch (Exception) { throw; } finally { product = null; } }