public void AddCartItem(Pho pho, int amount)
 {
     //TODO: add check if already added
     MainCart.CartItems.Add(new CartItem()
     {
         Pho = pho, Amount = amount
     });
 }
Exemple #2
0
 public void AddCartItem(Pho pho, int amount)
 {
     cartRepository.AddCartItem(pho, amount);
 }