diff --git a/Controllers/DestinazioniController.cs b/Controllers/DestinazioniController.cs index de88db2..693adc7 100644 --- a/Controllers/DestinazioniController.cs +++ b/Controllers/DestinazioniController.cs @@ -163,6 +163,9 @@ namespace SoftwayWeb.Controllers }); } + + + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public IActionResult Error() { diff --git a/Views/Destinazioni/Index.cshtml b/Views/Destinazioni/Index.cshtml index 5353ebf..d6447c4 100644 --- a/Views/Destinazioni/Index.cshtml +++ b/Views/Destinazioni/Index.cshtml @@ -33,6 +33,7 @@