private void DeleteItem(object obj)
        {
            var content = obj as BuyCartDetail;

            CartUserDetail.Remove(content);

            DeleteItemCart(content);

            ObservableCollection <BuyCartDetail> Collection = new ObservableCollection <BuyCartDetail>(CartUserDetail);

            CartUserDetail.Clear();
            CartUserDetail = new ObservableCollection <BuyCartDetail>(Collection);
        }
        private void IncreaseQty(object obj)
        {
            var content = obj as BuyCartDetail;

            foreach (var item in CartUserDetail)
            {
                if (item.Id == content.Id)
                {
                    item.Quantity = item.Quantity + 1;
                    UpdateItemCart(item);
                }
            }
            ObservableCollection <BuyCartDetail> Collection = new ObservableCollection <BuyCartDetail>(CartUserDetail);

            CartUserDetail.Clear();
            CartUserDetail = new ObservableCollection <BuyCartDetail>(Collection);
        }