//Delete public void Delete(string shipmentNo) { AcceptPending acceptedPending = db.AcceptPendings.Find(shipmentNo); db.AcceptPendings.Remove(acceptedPending); Save(); }
//Update public void Update(AcceptPending acceptedPending) { objDb.Update(acceptedPending); }
//Insert public void Insert(AcceptPending acceptedPending) { objDb.Insert(acceptedPending); }
//Update public void Update(AcceptPending acceptedPending) { db.Entry(acceptedPending).State = EntityState.Modified; Save(); }
//Insert public void Insert(AcceptPending acceptedPending) { db.AcceptPendings.Add(acceptedPending); Save(); }