Cambiato nome Material in Wood

This commit is contained in:
Annamaria Sassi
2026-03-30 12:24:58 +02:00
parent c7a8fa9e99
commit 57160cd18c
23 changed files with 82 additions and 73 deletions
+5 -5
View File
@@ -27,7 +27,7 @@ namespace WebWindowComplex.DTO
/// <summary>
/// Materiale selezionato
/// </summary>
public string Material { get; set; } = string.Empty;
public string Wood { get; set; } = string.Empty;
/// <summary>
/// Tipologia vetro selezionato
@@ -48,9 +48,9 @@ namespace WebWindowComplex.DTO
bool famHwOK = !string.IsNullOrEmpty(FamilyHardware);
bool colorOK = !string.IsNullOrEmpty(ColorMaterial);
bool glassOk = !string.IsNullOrEmpty(Glass);
bool matOK = !string.IsNullOrEmpty(Material);
bool woodOK = !string.IsNullOrEmpty(Wood);
bool profileOK = !string.IsNullOrEmpty(Profile);
return famHwOK && colorOK && matOK && glassOk && profileOK;
return famHwOK && colorOK && woodOK && glassOk && profileOK;
}
/// <summary>
@@ -61,10 +61,10 @@ namespace WebWindowComplex.DTO
{
bool famHwOK = FamilyHardware != null;
bool glassOK = Glass != null;
bool matOK = Material != null;
bool woodOK = Wood != null;
bool colorOK = ColorMaterial != null;
bool profileOK = Profile != null;
return famHwOK || glassOK || colorOK || matOK || profileOK;
return famHwOK || glassOK || colorOK || woodOK || profileOK;
}
}
}