示例#1
0
 public int RemoveFromCart(Candy candy)
 {
     return(_shoppingCartItemRepository.RemoveFromCart(candy, Id));
 }
示例#2
0
 public void AddToCart(Candy candy, int amount)
 {
     _shoppingCartItemRepository.AddToCart(candy, amount, Id);
 }