PIbd-23 Gutorov I.A. Second LabWork #3

Open
vasmaae wants to merge 17 commits from Task_2_BusinessLogic into Task_1_Models
Showing only changes of commit 49eb971b5c - Show all commits

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