From 9aa379d4de4d80f06dcc010f8c4a0134b72bf1da Mon Sep 17 00:00:00 2001 From: AndreStork Date: Thu, 29 Jan 2026 09:11:41 +0100 Subject: [PATCH] Aggiunto campo Stato in handling funzioni aggiunta e aggiornamento --- GestionePizzeForm.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/GestionePizzeForm.cs b/GestionePizzeForm.cs index e1d39e9..f70f2fa 100644 --- a/GestionePizzeForm.cs +++ b/GestionePizzeForm.cs @@ -271,7 +271,8 @@ namespace PizzaExpress_Client Nome = _txtNome.Text, Prezzo = prezzo, Categoria = _cmbCategoria.Text, - Note = _txtNote.Text + Note = _txtNote.Text, + Stato = _cmbStato.Text }; var resp = await _httpClient.PostAsJsonAsync("api/pizze", pizza); @@ -307,7 +308,8 @@ namespace PizzaExpress_Client Nome = _txtNome.Text, Prezzo = prezzo, Categoria = _cmbCategoria.Text, - Note = _txtNote.Text + Note = _txtNote.Text, + Stato = _cmbStato.Text }; var resp = await _httpClient.PutAsJsonAsync($"api/pizze/{id}", pizza);