Exemple #1
0
        public void DeleteProductById(string productId)
        {
            ProductDAL productDal=new ProductDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start(true);
                productDal.DeleteProductById(productId, db);
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                productDal = null;
            }
        }