public ActionResult CreateItemCategory(ItemCategoryVM itemCategory) { string userID = FindUserID(); if (ModelState.IsValid) { ItemRepo itemRepo = new ItemRepo(); itemRepo.CreateItemCategory(itemCategory, userID); return(RedirectToAction("ItemCategoryManagement")); } else { return(View()); } }