Exemplo n.º 1
0
        public DataTable GetProductById(string productId)
        {
            ProductDAL product = new ProductDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                DataTable dt = product.GetProductById(productId, db);
                db.Stop();

                return dt;
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                product = null;
            }
        }