public ActionResult Create(Origin origin)
        {
            if (ModelState.IsValid)
            {
                db.Origins.Add(origin);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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