예제 #1
0
 public void AddOrUpdateBaseBid(BaseBid bid)
 {
     var current = _baseBids.Find(bid.ProjectId, bid.SentToId, bid.ScopeId);
     if (current != null)
         _context.Entry<BaseBid>(current).CurrentValues.SetValues(bid);
     else
         _baseBids.Add(bid);
 }
예제 #2
0
 public void DeleteBaseBid(BaseBid bid)
 {
     _baseBids.Remove(bid);
 }