diff --git a/Controllers/DestinazioniController.cs b/Controllers/DestinazioniController.cs index 8cf2970..3ff213c 100644 --- a/Controllers/DestinazioniController.cs +++ b/Controllers/DestinazioniController.cs @@ -296,7 +296,7 @@ namespace SoftwayWeb.Controllers return RedirectToAction("Error"); } - return RedirectToAction("Index", "Destinazioni", new + return RedirectToAction("IndexValidate", "Destinazioni", new { //string id, string? codAutista, string? nomeAutista, DateTime dataGiro, string? codMezzo, string? desMezzo id = model.serialeGiro, @@ -485,7 +485,7 @@ namespace SoftwayWeb.Controllers if (response2.IsSuccessStatusCode) { - return RedirectToAction("Index", "Destinazioni", new + return RedirectToAction("IndexValidate", "Destinazioni", new { id = model.serialeGiro, codAutista = model.CodAutistaOld, diff --git a/Views/AddDestinazione/AddDestinazione.cshtml b/Views/AddDestinazione/AddDestinazione.cshtml index 45cf8b4..d2d6fe8 100644 --- a/Views/AddDestinazione/AddDestinazione.cshtml +++ b/Views/AddDestinazione/AddDestinazione.cshtml @@ -119,6 +119,7 @@
+