diff --git a/MP.Data/Controllers/MpInveController.cs b/MP.Data/Controllers/MpInveController.cs
index 922bf910..59591e41 100644
--- a/MP.Data/Controllers/MpInveController.cs
+++ b/MP.Data/Controllers/MpInveController.cs
@@ -28,6 +28,34 @@ namespace MP.Data.Controllers
_configuration = null;
}
+
+ #region gestione config
+
+ ///
+ /// Elenco da tabella Config
+ ///
+ ///
+ public List ConfigGetAll()
+ {
+ List dbResult = new List();
+ using (var dbCtx = new MoonProContext(_configuration))
+ {
+ dbResult = dbCtx
+ .DbSetConfig
+ .AsNoTracking()
+ .OrderBy(x => x.Chiave)
+ .ToList();
+ }
+ return dbResult;
+ }
+ #endregion gestione config
+
+
+
+
+
+
+
///
/// Elenco Scansioni dato Id sessione inventario
///
diff --git a/MP.INVE/Components/CmpTop.razor.cs b/MP.INVE/Components/CmpTop.razor.cs
index 647a3a61..3eb00344 100644
--- a/MP.INVE/Components/CmpTop.razor.cs
+++ b/MP.INVE/Components/CmpTop.razor.cs
@@ -40,13 +40,15 @@ namespace MP.INVE.Components
#region Protected Methods
+ //&& !(answ.dtExp < DateTime.Now)
+
protected async Task getId()
{
OperatoreDTO answ = new OperatoreDTO();
answ = await localStorage.GetItemAsync("MatrOpr");
if (!NavManager.Uri.Contains("Jumper?"))
{
- if (answ != null && !(answ.dtExp < DateTime.Now))
+ if (answ != null)
{
userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})";
if (NavManager.Uri.Contains("OperatoreLogin"))
diff --git a/MP.INVE/Components/ProcSuggestion.razor b/MP.INVE/Components/ProcSuggestion.razor
index f622bef2..2c48c865 100644
--- a/MP.INVE/Components/ProcSuggestion.razor
+++ b/MP.INVE/Components/ProcSuggestion.razor
@@ -10,7 +10,6 @@
@if (udc != null)
{
-