Ready to deploy

This commit is contained in:
2016-09-19 12:01:08 -04:00
parent d242fea781
commit 3a4fd9f2f2
5 changed files with 12 additions and 6 deletions
@@ -87,6 +87,9 @@ namespace InventoryTraker.Web.Controllers
if (!ModelState.IsValid)
return GetModelStateErrorListJson();
if (form.InventoryQuantities == null || !form.InventoryQuantities.Any())
return GetErrorListJson("Must add at least one item");
var errors = new List<string>();
foreach (var quantityForm in form.InventoryQuantities)