diff --git a/MP.Land/MP.Land.csproj b/MP.Land/MP.Land.csproj index 7b249a09..1e47faf0 100644 --- a/MP.Land/MP.Land.csproj +++ b/MP.Land/MP.Land.csproj @@ -3,7 +3,7 @@ net6.0 MP.Land - 6.16.2505.2814 + 6.16.2506.2717 Debug;Release;Debug_LiManDebug en True diff --git a/MP.Land/Pages/About.razor b/MP.Land/Pages/About.razor index 1dc4795c..ca4de2bb 100644 --- a/MP.Land/Pages/About.razor +++ b/MP.Land/Pages/About.razor @@ -10,7 +10,7 @@

@Titolo

-
+
diff --git a/MP.Land/Pages/Contacts.razor b/MP.Land/Pages/Contacts.razor index 751452af..64d2af45 100644 --- a/MP.Land/Pages/Contacts.razor +++ b/MP.Land/Pages/Contacts.razor @@ -13,7 +13,7 @@

@Titolo

-
+
diff --git a/MP.Land/Pages/IobList.razor b/MP.Land/Pages/IobList.razor new file mode 100644 index 00000000..16025fd2 --- /dev/null +++ b/MP.Land/Pages/IobList.razor @@ -0,0 +1,28 @@ +@page "/IobList" +
+
+
+
+
+
+
+

@Titolo

+
+ +
+
+
+ +
+ +
+
+
diff --git a/MP.Land/Pages/IobList.razor.cs b/MP.Land/Pages/IobList.razor.cs new file mode 100644 index 00000000..ebf22f27 --- /dev/null +++ b/MP.Land/Pages/IobList.razor.cs @@ -0,0 +1,79 @@ +using Microsoft.AspNetCore.Components; +using Microsoft.Extensions.Configuration; +using Microsoft.JSInterop; +using MP.AppAuth.Services; +using MP.Land.Data; +using NLog; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace MP.Land.Pages +{ + public partial class IobList : ComponentBase, IDisposable + { + #region Private Fields + + /// + /// Classe logger + /// + private static Logger Log = LogManager.GetCurrentClassLogger(); + + private List ListRecords; + + private string Titolo = ""; + + private int totalCount = 0; + + #endregion Private Fields + + #region Protected Properties + + [Inject] + protected AppAuthService AppDService { get; set; } + + [Inject] + protected MessageService AppMService { get; set; } + + [Inject] + protected IConfiguration Configuration { get; set; } + + [Inject] + protected IJSRuntime JSRuntime { get; set; } = null!; + + #endregion Protected Properties + + #region Public Methods + + public void Dispose() + { + ListRecords = null; + GC.Collect(); + } + + #endregion Public Methods + + #region Protected Methods + + protected override async Task OnInitializedAsync() + { + ListRecords = null; + + Titolo = "Elenco IOB Amministrati"; + AppMService.ShowSearch = true; + AppMService.PageName = "IobList"; + AppMService.PageIcon = "fas fa-computer pe-2"; + await ReloadData(); + } + + protected async Task ReloadData() + { + // importante altrimenti NON mostra update UI + ListRecords = await AppDService.UpdManList(); + totalCount = ListRecords.Count(); + } + + #endregion Protected Methods + } +} \ No newline at end of file diff --git a/MP.Land/Pages/SysInfo.razor b/MP.Land/Pages/SysInfo.razor index 7f9f547d..d5592360 100644 --- a/MP.Land/Pages/SysInfo.razor +++ b/MP.Land/Pages/SysInfo.razor @@ -18,7 +18,7 @@

@Titolo

-
+
diff --git a/MP.Land/Resources/ChangeLog.html b/MP.Land/Resources/ChangeLog.html index 2eb24261..bb6b0420 100644 --- a/MP.Land/Resources/ChangeLog.html +++ b/MP.Land/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo Tablet MAPO - DotNet6 -

Versione: 6.16.2505.2814

+

Versione: 6.16.2506.2717


Note di rilascio:
    diff --git a/MP.Land/Resources/VersNum.txt b/MP.Land/Resources/VersNum.txt index 23b36889..b22b6004 100644 --- a/MP.Land/Resources/VersNum.txt +++ b/MP.Land/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2505.2814 +6.16.2506.2717 diff --git a/MP.Land/Resources/manifest.xml b/MP.Land/Resources/manifest.xml index 4a7eae81..5892c17a 100644 --- a/MP.Land/Resources/manifest.xml +++ b/MP.Land/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2505.2814 + 6.16.2506.2717 https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/MP.Land.zip https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/ChangeLog.html false diff --git a/MP.Land/Shared/NavMenu.razor b/MP.Land/Shared/NavMenu.razor index 518b317a..e06bfc1e 100644 --- a/MP.Land/Shared/NavMenu.razor +++ b/MP.Land/Shared/NavMenu.razor @@ -40,6 +40,15 @@ }
+