Exemplo n.º 1
0
        public static int Actualizar_Productos(BE_Productos pBE_productos)
        {
            int intValor = 0;

            try
            {
                using (TransactionScope ts = new TransactionScope())
                {
                    intValor = DA_Productos.Actualizar_Productos(pBE_productos);

                    ts.Complete();
                }
                intValor = Convert.ToInt32(pBE_productos.ID);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(intValor);
        }