Example #1
0
        private async Task AddBasketItemAsync(BasketItem item)
        {
            BasketItems.Add(item);

            await ReCalculateTotalAsync();
        }
Example #2
0
 public void AddItems(Book book)
 {
     BasketItems.Add(book);
 }
Example #3
0
 public void AddBasketItem(IBasketItem item)
 {
     BasketItems.Add((BasketItem)item);
 }
        private void AddBasketItem(BasketItem item)
        {
            BasketItems.Add(item);

            ReCalculateTotal();
        }