This commit is contained in:
Калышев Ян 2023-04-18 04:32:19 -07:00
parent dda67d7754
commit dd34d3ddda

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