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

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

            cartDataService.AddCartItem(pho, amount);
        }
        public void AddToCart(HotDog hotDog, int amount)
        {
            CartDataService cartDataService = new CartDataService();

            cartDataService.AddCartItem(hotDog, amount);
        }
        public void AddToCart(Deal deal, int amount)
        {
            CartDataService cartDataService = new CartDataService();

            cartDataService.AddCartItem(deal, amount);
        }