Esempio n. 1
0
 public void AddOrUpdateComputedBid(ComputedBid bid)
 {
     var current = _computedBids.Find(bid.BidPackageId, bid.SentToId, bid.ScopeId);
     if (current != null)
         _context.Entry<ComputedBid>(current).CurrentValues.SetValues(bid);
     else
         _computedBids.Add(bid);
 }
Esempio n. 2
0
 public void DeleteComputedBid(ComputedBid bid)
 {
     _computedBids.Remove(bid);
 }