From 63fc5b0f6a2e95a6499a84ce0030b53886178aea Mon Sep 17 00:00:00 2001 From: michele Date: Thu, 5 Sep 2024 10:00:27 +0200 Subject: [PATCH] Michele: aggiunto campo PISEQ a pimodgir --- Controllers/ModificaGiroController.cs | 1 + Models/Modgir.cs | 1 + Models/Modgir_out.cs | 2 ++ Program.cs | 4 ++-- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Controllers/ModificaGiroController.cs b/Controllers/ModificaGiroController.cs index e8eeac5..531cc2d 100644 --- a/Controllers/ModificaGiroController.cs +++ b/Controllers/ModificaGiroController.cs @@ -73,6 +73,7 @@ namespace ApiSoftway.Controllers gc.Pinumcons = model.Pinumcons; gc.Piuova = model.Piuova; gc.Picist = model.Picist; + gc.Piseq = model.Piseq; using (var transactionGiri = _modgiri_context.Database.BeginTransaction()) { diff --git a/Models/Modgir.cs b/Models/Modgir.cs index a0fcc80..b5b4e04 100644 --- a/Models/Modgir.cs +++ b/Models/Modgir.cs @@ -22,5 +22,6 @@ namespace ApiSoftway.Models public int? Pinumcons { get; set; } public decimal? Piuova { get; set; } public decimal? Picist { get; set; } + public int? Piseq { get; set; } } } diff --git a/Models/Modgir_out.cs b/Models/Modgir_out.cs index 5434624..532f4e7 100644 --- a/Models/Modgir_out.cs +++ b/Models/Modgir_out.cs @@ -21,6 +21,8 @@ namespace ApiSoftway.Models public int? Pinumcons { get; set; } public decimal? Piuova { get; set; } public decimal? Picist { get; set; } + public int? Piseq { get; set; } + /// errore titolo public string? err_title { get; set; } diff --git a/Program.cs b/Program.cs index b31f181..80be876 100644 --- a/Program.cs +++ b/Program.cs @@ -77,5 +77,5 @@ app.UseAuthorization(); app.MapControllers(); -//app.Run(); -app.Run("http://localhost:6000"); +app.Run(); +//app.Run("http://localhost:6000");