Completato MON AsIs in BLazor

This commit is contained in:
Samuele Locatelli
2022-04-13 20:06:19 +02:00
parent 116ec93bb6
commit 31c142efa4
10 changed files with 312 additions and 36 deletions
+17
View File
@@ -72,6 +72,23 @@ namespace MP.Data.Controllers
return dbResult;
}
/// <summary>
/// Elenco da tabella Macchine
/// </summary>
/// <returns></returns>
public List<DatabaseModels.ConfigModel> ConfigGetAll()
{
List<DatabaseModels.ConfigModel> dbResult = new List<DatabaseModels.ConfigModel>();
using (var dbCtx = new MoonProContext(_configuration))
{
dbResult = dbCtx
.DbSetConfig
.OrderBy(x => x.Chiave)
.ToList();
}
return dbResult;
}
/// <summary>
/// Elenco da tabella MappaStatoExpl
/// </summary>