Eliminato template da WebWindowComplex
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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; } = "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user