Beispiel #1
0
        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;
            }
        }