crud de variante terminado, tal vez con detalles

This commit is contained in:
Carlos Sandoval
2024-06-24 23:15:03 -06:00
parent a9c9bd2c05
commit a610343abe
24 changed files with 288 additions and 227 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ namespace compabetov2.admin
try
{
string nombre = txtNombre.Text;
decimal precio = decimal.Parse(txtPrecio.Text);
decimal precio = 0;
//valida que se haya colocado alguna imagen
if (!imagePath.Equals("")) {
Producto producto = new Producto(-1, nombre, "", precio, imagePath, 0);