public void UpdateShipping(Shipping ship) { db.Entry(ship).State = System.Data.Entity.EntityState.Modified; db.SaveChanges(); }
public void AddShipping(Shipping ship) { db.Shipping.Add(ship); db.SaveChanges(); }
public void UpdateShipping(Shipping ship) { db.Entry(ship).State = System.Data.Entity.EntityState.Modified; db.SaveChanges(); }
public void AddShipping(Shipping ship) { db.Shipping.Add(ship); db.SaveChanges(); }