Ejemplo n.º 1
0
 public void eliminar()
 {
     try
     {
         CtrlProducto.eliminar(this._ID);
     }
     catch (Exception ex)
     {
         Utils.EscribeLog(ex);
     }
 }
Ejemplo n.º 2
0
 public void actualizar()
 {
     try
     {
         CtrlProducto.actualizar(this);
     }
     catch (Exception ex)
     {
         Utils.EscribeLog(ex);
     }
 }
Ejemplo n.º 3
0
 public int guardar()
 {
     try
     {
         return(CtrlProducto.guardar(this));
     }
     catch (Exception ex)
     {
         Utils.EscribeLog(ex);
         return(0);
     }
 }
 public Producto getProducto()
 {
     //Controlador_Producto CtrlProducto = new Controlador_Producto();
     return(CtrlProducto.getProducto(_producto_ID));
 }
Ejemplo n.º 5
0
 public int guardar()
 {
     return(CtrlProducto.guardarJSON(this));
 }