public ActionResult Create(DELIVERY delivery)
        {
            if (ModelState.IsValid)
            {
                db.DELIVERies.Add(delivery);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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