Eliminato template da WebWindowComplex

This commit is contained in:
Annamaria Sassi
2025-11-06 15:06:43 +01:00
parent b8829ab77d
commit a08b8d4eb5
18 changed files with 59 additions and 317 deletions
+1 -6
View File
@@ -13,12 +13,7 @@ namespace WebWindowComplex.DTO
/// Payload complessivo delle anagrafiche necessarie x Window
/// </summary>
public class BaseListPayload
{
/// <summary>
/// Elenco template in formato DTO
/// </summary>
public List<TemplateSelectDTO>? TemplateDTO { get; set; } = null;
{
/// <summary>
/// Elenco Famiglie HW in formato DTO
/// </summary>
+1 -7
View File
@@ -39,11 +39,6 @@ namespace WebWindowComplex.DTO
/// </summary>
public string Profile { get; set; } = string.Empty;
/// <summary>
/// Template selezionato
/// </summary>
public Template Template { get; set; } = null!;
/// <summary>
/// Verifica di validità dell'intero Payload
/// </summary>
@@ -55,8 +50,7 @@ namespace WebWindowComplex.DTO
bool glassOk = !string.IsNullOrEmpty(Glass);
bool matOK = !string.IsNullOrEmpty(Material);
bool profileOK = !string.IsNullOrEmpty(Profile);
bool templateOK = Template != null;
return famHwOK && colorOK && matOK && glassOk && templateOK && profileOK;
return famHwOK && colorOK && matOK && glassOk && profileOK;
}
}
}
@@ -1,17 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebWindowComplex.DTO
{
public class TemplateSelectDTO
{
public int Index { get; set; } = 0;
public string Description { get; set; } = "";
public string JwdFileName { get; set; } = "";
public string SVGFileName { get; set; } = "";
public string ImageUrl { get; set; } = "";
}
}