Fix lettura dati da DB x licenza

This commit is contained in:
Samuele Locatelli
2021-12-23 15:07:15 +01:00
parent 985e429d34
commit 2cc8da110d
7 changed files with 26 additions and 10 deletions
+10 -1
View File
@@ -2,18 +2,20 @@
using NLog;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MP.AppAuth.Controllers
{
public class MPController
public class MPController : IDisposable
{
#region Private Fields
private static IConfiguration _configuration;
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
public static AppAuth.Controllers.MPController dbController;
#endregion Private Fields
@@ -29,6 +31,12 @@ namespace MP.AppAuth.Controllers
#region Public Methods
public void Dispose()
{
// Clear database controller
dbController.Dispose();
}
/// <summary>
/// Elenco Record x AnagKeyValue
@@ -46,6 +54,7 @@ namespace MP.AppAuth.Controllers
return dbResult;
}
#endregion Public Methods
}
}