private void BuyBtnClick(ItemVM obj) { if (obj != null) { Cart.Add(obj); } }
public void AddItem(ItemVM item) { if (Items == null) { Items = new ObservableCollection <ItemVM>(); } Items.Add(item); }
public void addItem(ItemVM item) { if (ItemList == null) { ItemList = new ObservableCollection <ItemVM>(); } ItemList.Add(item); }
private void AddtoCart(ItemVM obj) { Cart.Add(obj); }
private bool BuyBtnEnabled(ItemVM arg) { return(arg != null); }