public void ItemUpdated(PlaceBidViewModel model, AuctionItem item)
 {
     if (Items != null)
     {
         var targetItem = Items.First((i) => i.Id == item.Id);
         targetItem.CurrentBid = item.CurrentBid;
     }
 }
示例#2
0
 public void ItemUpdated(PlaceBidViewModel model, AuctionItem item)
 {
     if (MyAuctionItems != null)
     {
         var targetItem = MyAuctionItems.FirstOrDefault((i) => i.Id == item.Id);
         if (targetItem != null)
         {
             targetItem.CurrentBid = item.CurrentBid;
         }
     }
 }