public ActionResult Edit(ItemValue itemvalue)
 {
     if (ModelState.IsValid)
     {
         context.Entry(itemvalue).State = EntityState.Modified;
         context.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(itemvalue);
 }
        public ActionResult Create(ItemValue itemvalue)
        {
            if (ModelState.IsValid)
            {
                context.ItemValues.Add(itemvalue);
                context.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(itemvalue);
        }