public ActionResult Create(DepartureCity departurecity)
        {
            if (ModelState.IsValid)
            {
                db.DepartureCities.Add(departurecity);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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