Laba5 Hard PIbd-22 Kalyshev Y V #17

Closed
Zyzf wants to merge 15 commits from Laba5Hard into Laba5
Showing only changes of commit dd34d3ddda - Show all commits

View File

@ -111,7 +111,7 @@ namespace BlacksmithWorkshopBusinessLogic.BusinessLogics
{
throw new ArgumentNullException(nameof(model));
}
if (count <= 0)
if (count < 0)
{
throw new ArgumentException("Количество изделий должно быть больше 0", nameof(count));
}