public async Task<ActionResult> Delete(string id, ItemCategory category)
 {
     try
     {
         await new ItemCategoryHelper().DeleteItemCategory(id);
         return RedirectToAction("Index");
     }
     catch
     {
         return View();
     }
 }
        public async Task<ActionResult> Edit(string id, ItemCategory editedCategory)
        {
            try
            {
                if (!ModelState.IsValid)
                    return View(editedCategory);

                await new ItemCategoryHelper().SaveItemCategory(editedCategory);
                return RedirectToAction("Index");
            }
            catch
            {
                return View(editedCategory);
            }
        }
        public async Task<ActionResult> Create(ItemCategory newCategory)
        {
            try
            {
                if (!ModelState.IsValid)
                    return View();

                await new ItemCategoryHelper().SaveItemCategory(newCategory);
                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }