fix exception message

This commit is contained in:
Ivan Gutorov 2025-02-17 16:18:13 +04:00
parent a7358fb837
commit 5e91a0fc28

View File

@ -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");
}
}