fixes
This commit is contained in:
parent
dda67d7754
commit
dd34d3ddda
@ -111,7 +111,7 @@ namespace BlacksmithWorkshopBusinessLogic.BusinessLogics
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
if (count <= 0)
|
||||
if (count < 0)
|
||||
{
|
||||
throw new ArgumentException("Количество изделий должно быть больше 0", nameof(count));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user