private void AddToCart(Models.MenuItem item, int amount, double price) { CartDataService cartDataService = new CartDataService(); cartDataService.AddCartItem(item, amount, price); }
private void OnAddToCart(object obj) { CartDataService.AddCartItem(SelectedBurger, Amount); }
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); }