public ActionResult Create(Municipality municipality)
        {
            if (ModelState.IsValid)
            {
                db.Municipalities.Add(municipality);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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