public ActionResult Create(ShippingAddress shippingaddress)
        {
            if (ModelState.IsValid)
            {
                db.ShippingAddresses.Add(shippingaddress);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

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