コード例 #1
0
        private void AddToCart(Models.MenuItem item, int amount, double price)
        {
            CartDataService cartDataService = new CartDataService();

            cartDataService.AddCartItem(item, amount, price);
        }
コード例 #2
0
 private void OnAddToCart(object obj)
 {
     CartDataService.AddCartItem(SelectedBurger, Amount);
 }
コード例 #3
0
        public void AddToCart(Pho pho, int amount)
        {
            CartDataService cartDataService = new CartDataService();

            cartDataService.AddCartItem(pho, amount);
        }
コード例 #4
0
        public void AddToCart(HotDog hotDog, int amount)
        {
            CartDataService cartDataService = new CartDataService();

            cartDataService.AddCartItem(hotDog, amount);
        }
コード例 #5
0
        public void AddToCart(Deal deal, int amount)
        {
            CartDataService cartDataService = new CartDataService();

            cartDataService.AddCartItem(deal, amount);
        }