void ICollectionModifier <Deal> .Update(Deal entity) { var modified = Deals.First(d => d.Id == entity.Id); modified.Purchaser = entity.Purchaser; modified.Seller = entity.Seller; modified.SelledStock = entity.SelledStock; modified.Cost = entity.Cost; }
public void Update(Deal entity) { var modified = Deals.First(d => d.Id == entity.Id); modified.Buyer = entity.Buyer; modified.Seller = entity.Seller; modified.Stock = entity.Stock; modified.Sum = entity.Sum; }