- Update visualizzazione ODL ed Energy
This commit is contained in:
Samuele Locatelli
2025-02-18 11:57:06 +01:00
parent 5bef1602cb
commit 43aae08d1e
28 changed files with 1523 additions and 192 deletions
+52
View File
@@ -42,6 +42,22 @@ namespace MP.Data.Controllers
return dbResult;
}
/// <summary>
/// Elenco FLTranslations (decodifica + UM)
/// </summary>
/// <returns></returns>
public List<AnagFLTransModel> AnagFLTransGetAll()
{
List<AnagFLTransModel> dbResult = new List<AnagFLTransModel>();
using (var dbCtx = new MoonPro_STATSContext(_configuration))
{
dbResult = dbCtx
.DbSetAnagFLTrans
.ToList();
}
return dbResult;
}
/// <summary>
/// Elenco tabella Articoli da filtro
/// </summary>
@@ -84,6 +100,24 @@ namespace MP.Data.Controllers
return dbResult;
}
/// <summary>
/// Elenco da tabella Config
/// </summary>
/// <returns></returns>
public List<ConfigModel> ConfigGetAll()
{
List<ConfigModel> dbResult = new List<ConfigModel>();
using (var dbCtx = new MoonPro_STATSContext(_configuration))
{
dbResult = dbCtx
.DbSetConfig
.AsNoTracking()
.OrderBy(x => x.Chiave)
.ToList();
}
return dbResult;
}
public void Dispose()
{
}
@@ -351,6 +385,24 @@ namespace MP.Data.Controllers
return dbResult;
}
/// <summary>
/// Elenco Vocabolario (completo)
/// </summary>
/// <returns></returns>
public List<VocabolarioModel> VocabolarioGetAll()
{
List<VocabolarioModel> dbResult = new List<VocabolarioModel>();
using (var dbCtx = new MoonPro_STATSContext(_configuration))
{
dbResult = dbCtx
.DbSetVocabolario
.AsNoTracking()
.OrderBy(x => x.Lemma)
.ToList();
}
return dbResult;
}
#endregion Public Methods
#region Private Fields