Cambiato nome Material in Wood
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user