INserito filtro parametri xDL x creazione PODL/KIT
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user