コード例 #1
0
ファイル: CarritoBO.cs プロジェクト: urisegaloff/TC4
 public void Actualizar(CarritoEntity entidad)
 {
     try
     {
         daCarrito.Actualizar(entidad);
     }
     catch (ExcepcionDA ex)
     {
         throw new ExcepcionBO("Error al actualizar el carrito", ex);
     }
 }
コード例 #2
0
        public Boolean Actualizar(Carrito Carrito)
        {
            Boolean updated;

            try
            {
                CarritoDA carritoDA = new CarritoDA();
                updated = carritoDA.Actualizar(Carrito);
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(updated);
        }