public ActionResult Edit(DisplayUOM displayuom)
 {
     if (ModelState.IsValid)
     {
         db.Entry(displayuom).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(displayuom);
 }
        public ActionResult Create(DisplayUOM displayuom)
        {
            if (ModelState.IsValid)
            {
                db.DisplayUOMs.Add(displayuom);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(displayuom);
        }