Exemplo n.º 1
0
 public static List <BE_Productos> Listar_Productos_x_ID(BE_Productos pBE_productos)
 {
     try
     {
         return(DA_Productos.Listar_Productos_x_ID(pBE_productos));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public static List <BE_Productos> Listar_Producto_Desp(BE_Productos pBE_Producto)
 {
     try
     {
         return(DA_Productos.Listar_Producto_Desp(pBE_Producto));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
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);
        }