Laba3 Hard PIbd-22 Kalyshev Y V #13

Closed
Zyzf wants to merge 2 commits from Laba3Hard into Laba2Hard
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));
}