diff --git a/SMGen.Data/Controllers/SMGenController.cs b/SMGen.Data/Controllers/SMGenController.cs
index 79da360..4f8f9f8 100644
--- a/SMGen.Data/Controllers/SMGenController.cs
+++ b/SMGen.Data/Controllers/SMGenController.cs
@@ -61,7 +61,7 @@ namespace SMGen.Data.Controllers
}
catch (Exception exc)
{
- Log.Error($"Eccezione durante TranInInsert: {Environment.NewLine}{exc}");
+ Log.Error($"Eccezione durante TranInInsert ({currIdxFamiglia}) : {Environment.NewLine}{exc}");
}
}
return fatto;
diff --git a/SMGen/NLog.config b/SMGen/NLog.config
new file mode 100644
index 0000000..8fc7637
--- /dev/null
+++ b/SMGen/NLog.config
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SMGen/Pages/SMEvent2State.razor b/SMGen/Pages/SMEvent2State.razor
index 2ba2c32..bddb4dc 100644
--- a/SMGen/Pages/SMEvent2State.razor
+++ b/SMGen/Pages/SMEvent2State.razor
@@ -13,3 +13,16 @@
+
+
+
+
+ @if (files2Read.Count > 0)
+ {
+
+ }
+
+
\ No newline at end of file
diff --git a/SMGen/Pages/SMEvent2State.razor.cs b/SMGen/Pages/SMEvent2State.razor.cs
index 9797859..db810e9 100644
--- a/SMGen/Pages/SMEvent2State.razor.cs
+++ b/SMGen/Pages/SMEvent2State.razor.cs
@@ -1,22 +1,368 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Components;
-using System.Net.Http;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Components.Authorization;
+using EgwCoreLib.Razor;
using Microsoft.AspNetCore.Components.Forms;
-using Microsoft.AspNetCore.Components.Routing;
-using Microsoft.AspNetCore.Components.Web;
-using Microsoft.AspNetCore.Components.Web.Virtualization;
-using Microsoft.JSInterop;
-using SMGen;
-using SMGen.Shared;
+using Microsoft.AspNetCore.Components;
+using SMGen.Data.DbModels;
+using SMGen.Data.Services;
+using SMGen.Data;
+using Microsoft.VisualBasic;
namespace SMGen.Pages
{
public partial class SMEvent2State
{
+ protected SelectSMIn2EvParams currFilter = new SelectSMIn2EvParams();
+
+ protected DataPager? pagerSMIn2Ev = null!;
+ protected bool b_rules_definition { get; set; } = false;
+
+ [Inject]
+ protected IConfiguration conf { get; set; } = null!;
+
+ [Inject]
+ protected IWebHostEnvironment env { get; set; } = null!;
+
+ [Inject]
+ protected SMGDataService SMGDService { get; set; } = null!;
+
+ protected List