INserito filtro parametri xDL x creazione PODL/KIT

This commit is contained in:
Samuele Locatelli
2025-04-14 11:53:06 +02:00
parent 4b2a9dbd3e
commit 078101ccb4
24 changed files with 239 additions and 167 deletions
+6 -6
View File
@@ -78,7 +78,7 @@ namespace MP.Data.Controllers
/// Elenco Gruppi tipo Azienda
/// </summary>
/// <returns></returns>
public List<AnagGruppi> AnagGruppiAziende()
public List<AnagGruppiModel> AnagGruppiAziende()
{
return AnagGruppiGetTipo("AZIENDA");
}
@@ -87,7 +87,7 @@ namespace MP.Data.Controllers
/// Elenco Gruppi tipo Fasi
/// </summary>
/// <returns></returns>
public List<AnagGruppi> AnagGruppiFase()
public List<AnagGruppiModel> AnagGruppiFase()
{
return AnagGruppiGetTipo("FASE");
}
@@ -96,9 +96,9 @@ namespace MP.Data.Controllers
/// Elenco Gruppi
/// </summary>
/// <returns></returns>
public List<AnagGruppi> AnagGruppiGetAll()
public List<AnagGruppiModel> AnagGruppiGetAll()
{
List<AnagGruppi> dbResult = new List<AnagGruppi>();
List<AnagGruppiModel> dbResult = new List<AnagGruppiModel>();
using (var dbCtx = new MoonProContext(_configuration))
{
dbResult = dbCtx
@@ -115,9 +115,9 @@ namespace MP.Data.Controllers
/// </summary>
/// <param name="tipoGruppo"></param>
/// <returns></returns>
public List<AnagGruppi> AnagGruppiGetTipo(string tipoGruppo)
public List<AnagGruppiModel> AnagGruppiGetTipo(string tipoGruppo)
{
List<AnagGruppi> dbResult = new List<AnagGruppi>();
List<AnagGruppiModel> dbResult = new List<AnagGruppiModel>();
using (var dbCtx = new MoonProContext(_configuration))
{
dbResult = dbCtx