public ActionResult Create(Mandate_Type mandate_type)
        {
            if (ModelState.IsValid)
            {
                db.Mandate_Type.Add(mandate_type);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(mandate_type);
        }
 public ActionResult Edit(Mandate_Type mandate_type)
 {
     if (ModelState.IsValid)
     {
         db.Entry(mandate_type).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(mandate_type);
 }