fix exception message
This commit is contained in:
parent
a7358fb837
commit
5e91a0fc28
@ -45,6 +45,6 @@ public class InstallationDataModel(string id, string employeeId,
|
||||
throw new ValidationException("Field Sum is less than or equal to 0");
|
||||
|
||||
if ((Components?.Count ?? 0) == 0)
|
||||
throw new ValidationException("The sale must include components");
|
||||
throw new ValidationException("The installation must include components");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user