crud de variante sin lo relacionado a editar
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using compabetov2.database.modelos;
|
||||
using compabetov2.database;
|
||||
using compabetov2.database.modelos;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -41,6 +42,12 @@ namespace compabetov2.admin
|
||||
producto.idProducto,
|
||||
Decimal.Parse(txtPrecioCompra.Text)
|
||||
);
|
||||
|
||||
if (service.insertarVariante(NuevaVariante))
|
||||
{
|
||||
Close();
|
||||
ventanaPadre.llenarLayout();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user