From dd2a47f2c759c584e78d330d4ee23720422dd95a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 19 Dec 2022 15:04:33 +0100 Subject: [PATCH] Rename vari metodo elenco magazzini --- MP.Data/Controllers/MpInveController.cs | 2 +- MP.INVE/Components/CmpTop.razor.cs | 2 +- MP.INVE/Components/InveSessionList.razor.cs | 2 +- MP.INVE/Components/MagList.razor.cs | 2 +- MP.INVE/Data/MiDataService.cs | 4 ++-- MP.INVE/MP.INVE.csproj | 2 +- MP.INVE/Resources/ChangeLog.html | 2 +- MP.INVE/Resources/VersNum.txt | 2 +- MP.INVE/Resources/manifest.xml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/MP.Data/Controllers/MpInveController.cs b/MP.Data/Controllers/MpInveController.cs index 297f3c01..8455f3ac 100644 --- a/MP.Data/Controllers/MpInveController.cs +++ b/MP.Data/Controllers/MpInveController.cs @@ -374,7 +374,7 @@ namespace MP.Data.Controllers /// Elenco Magazzini /// /// - public List ElencoMagazzini() + public List MagazziniList() { List dbResult = new List(); using (var dbCtx = new MoonPro_InveContext(_configuration)) diff --git a/MP.INVE/Components/CmpTop.razor.cs b/MP.INVE/Components/CmpTop.razor.cs index 7dd888a0..900957a1 100644 --- a/MP.INVE/Components/CmpTop.razor.cs +++ b/MP.INVE/Components/CmpTop.razor.cs @@ -58,7 +58,7 @@ namespace MP.INVE.Components userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})"; if (NavManager.Uri.Contains("OperatoreLogin")) { - NavManager.NavigateTo("Starter", true); + NavManager.NavigateTo("ElencoMagazzini", true); } } else diff --git a/MP.INVE/Components/InveSessionList.razor.cs b/MP.INVE/Components/InveSessionList.razor.cs index 9946e90d..14b129a9 100644 --- a/MP.INVE/Components/InveSessionList.razor.cs +++ b/MP.INVE/Components/InveSessionList.razor.cs @@ -82,7 +82,7 @@ namespace MP.INVE.Components if (reqNew) { elencoOperatori = MIDataservice.ElencoOperatori(); - ElencoMagazzini = MIDataservice.ElencoMagazzini(); + ElencoMagazzini = MIDataservice.MagazziniList(); } } diff --git a/MP.INVE/Components/MagList.razor.cs b/MP.INVE/Components/MagList.razor.cs index 439e3ca7..0e687681 100644 --- a/MP.INVE/Components/MagList.razor.cs +++ b/MP.INVE/Components/MagList.razor.cs @@ -90,7 +90,7 @@ namespace MP.INVE.Components isLoading = true; ElencoMagazzini = null; SearchRecords = null; - SearchRecords = MIDataservice.ElencoMagazzini(); + SearchRecords = MIDataservice.MagazziniList(); totalCount = SearchRecords.Count; ElencoMagazzini = SearchRecords.Skip(numRecord * (currPage - 1)).Take(numRecord).ToList(); await Task.Delay(1); diff --git a/MP.INVE/Data/MiDataService.cs b/MP.INVE/Data/MiDataService.cs index d0bccb35..b23209b3 100644 --- a/MP.INVE/Data/MiDataService.cs +++ b/MP.INVE/Data/MiDataService.cs @@ -291,7 +291,7 @@ namespace MP.INVE.Data return result; } - public List ElencoMagazzini() + public List MagazziniList() { Stopwatch stopWatch = new Stopwatch(); stopWatch.Start(); @@ -306,7 +306,7 @@ namespace MP.INVE.Data } else { - result = dbController.ElencoMagazzini(); + result = dbController.MagazziniList(); // serializzo e salvo... rawData = JsonConvert.SerializeObject(result); redisDb.StringSetAsync(redisMagList, rawData, getRandTOut(redisLongTimeCache)); diff --git a/MP.INVE/MP.INVE.csproj b/MP.INVE/MP.INVE.csproj index 9d06efae..e456678f 100644 --- a/MP.INVE/MP.INVE.csproj +++ b/MP.INVE/MP.INVE.csproj @@ -5,7 +5,7 @@ enable enable MP.INVE - 6.16.2212.1911 + 6.16.2212.1915 diff --git a/MP.INVE/Resources/ChangeLog.html b/MP.INVE/Resources/ChangeLog.html index 945beb08..0c65bcd2 100644 --- a/MP.INVE/Resources/ChangeLog.html +++ b/MP.INVE/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOINVE -

Versione: 6.16.2212.1911

+

Versione: 6.16.2212.1915


Note di rilascio:
  • diff --git a/MP.INVE/Resources/VersNum.txt b/MP.INVE/Resources/VersNum.txt index fd2f65f4..0ce79757 100644 --- a/MP.INVE/Resources/VersNum.txt +++ b/MP.INVE/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2212.1911 +6.16.2212.1915 diff --git a/MP.INVE/Resources/manifest.xml b/MP.INVE/Resources/manifest.xml index 857bbfb1..81e37a78 100644 --- a/MP.INVE/Resources/manifest.xml +++ b/MP.INVE/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2212.1911 + 6.16.2212.1915 https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/MP.INVE.zip https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/ChangeLog.html false