//Delete public void Delete(string deliveryNote) { DocReturnPending docReturnPending = db.DocReturnPendings.Find(deliveryNote); db.DocReturnPendings.Remove(docReturnPending); Save(); }
//Update public void Update(DocReturnPending docReturnPending) { db.Entry(docReturnPending).State = EntityState.Modified; Save(); }
//Insert public void Insert(DocReturnPending outboundPending) { db.DocReturnPendings.Add(outboundPending); Save(); }
//Update public void Update(DocReturnPending docReturnPending) { objDb.Update(docReturnPending); }
//Insert public void Insert(DocReturnPending docReturnPending) { objDb.Insert(docReturnPending); }