public ActionResult Create(NominationStatus nominationstatus)
        {
            if (ModelState.IsValid)
            {
                db.NominationStatus.Add(nominationstatus);
                try
                {
                    db.SaveChanges();
                }
                catch (Exception e)
                {
                    Session["FlashMessage"] = "Failed to create status." + e.Message;
                    return View(nominationstatus);
                }
                return RedirectToAction("Index");
            }

            return View(nominationstatus);
        }
 public ActionResult Edit(NominationStatus nominationstatus)
 {
     if (ModelState.IsValid)
     {
         db.Entry(nominationstatus).State = EntityState.Modified;
         try
         {
             db.SaveChanges();
         }
         catch (Exception e)
         {
             Session["FlashMessage"] = "Failed to edit status." + e.Message;
             return View(nominationstatus);
         }
         return RedirectToAction("Index");
     }
     return View(nominationstatus);
 }