Update CatalogItem.cs

A small spelling mistake.
This commit is contained in:
Shengjie Yan 2018-11-17 18:12:06 +08:00 committed by GitHub
parent 7fc68b4b86
commit b929d5513a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model
if (quantityDesired <= 0) if (quantityDesired <= 0)
{ {
throw new CatalogDomainException($"Item units desired should be greater than cero"); throw new CatalogDomainException($"Item units desired should be greater than zero");
} }
int removed = Math.Min(quantityDesired, this.AvailableStock); int removed = Math.Min(quantityDesired, this.AvailableStock);
@ -100,4 +100,4 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model
return this.AvailableStock - original; return this.AvailableStock - original;
} }
} }
} }