Example #1
0
        public void UpdateShipping(Shipping ship)

        {
            db.Entry(ship).State = System.Data.Entity.EntityState.Modified;
            db.SaveChanges();
        }
Example #2
0
        public void AddShipping(Shipping ship)

        {
            db.Shipping.Add(ship);
            db.SaveChanges();
        }