From 98d32300cf6eb9c46b995cf7927133417b2ebaac Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 1 Feb 2022 12:43:19 +0100 Subject: [PATCH] Completato test con chiavi licenza OK --- MP.Land/Components/HomeLink.razor | 1 - MP.Land/Data/LicenseService.cs | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MP.Land/Components/HomeLink.razor b/MP.Land/Components/HomeLink.razor index 9718cfaf..272ed60c 100644 --- a/MP.Land/Components/HomeLink.razor +++ b/MP.Land/Components/HomeLink.razor @@ -86,7 +86,6 @@ AKVList = await DataService.AnagKeyValList(); LicServ.InitAkv(); } - //return base.OnInitializedAsync(); } diff --git a/MP.Land/Data/LicenseService.cs b/MP.Land/Data/LicenseService.cs index 83ae4f06..9a103d9f 100644 --- a/MP.Land/Data/LicenseService.cs +++ b/MP.Land/Data/LicenseService.cs @@ -354,6 +354,10 @@ namespace MP.Land.Data DateTime scadenza = licenseManGLS.expiryDateByAuthKey(Installazione, recLic.NomeVar, numLic, authKey); answ = scadenza > DateTime.Today; } + else + { + _logger.LogInformation($"Record non trovato per {authKey}"); + } } return answ; }