From 8a1d65a1ca6a34488eb49f5be779f640a9901fed Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 8 Nov 2021 16:36:25 +0100 Subject: [PATCH] refresh pagina attivazioni --- LiMan.UI/Components/Activations.razor | 5 ++++- LiMan.UI/Components/Activations.razor.cs | 12 ++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/LiMan.UI/Components/Activations.razor b/LiMan.UI/Components/Activations.razor index 5a1f407..bb9d1a1 100644 --- a/LiMan.UI/Components/Activations.razor +++ b/LiMan.UI/Components/Activations.razor @@ -2,7 +2,10 @@ - + diff --git a/LiMan.UI/Components/Activations.razor.cs b/LiMan.UI/Components/Activations.razor.cs index 495bd67..e75a32e 100644 --- a/LiMan.UI/Components/Activations.razor.cs +++ b/LiMan.UI/Components/Activations.razor.cs @@ -13,10 +13,7 @@ namespace LiMan.UI.Components { #region Private Fields - private int currPage = 1; private List ListRecords; - private int numRecord = 10; - private List SearchRecords; #endregion Private Fields @@ -88,11 +85,6 @@ namespace LiMan.UI.Components ListRecords = null; await Task.Delay(1); ListRecords = await DataService.AttivazioniGetByLic(MasterLicence.IdxLic); -#if false - SearchRecords = await DataService.AttivazioniGetByLic(MasterLicence.IdxLic); - totalCount = SearchRecords.Count(); - ListRecords = SearchRecords.Skip(numRecord * (currPage - 1)).Take(numRecord).ToList(); -#endif isLoading = false; } @@ -100,6 +92,10 @@ namespace LiMan.UI.Components #region Protected Methods + protected void close() + { + } + /// /// formatta testo secondo scadenza: /// scadenza < oggi --> verde
+ + + # Impiego Chiave