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