Exemplo n.º 1
0
 public async Task <IActionResult> RemoveShopCart(string userName)
 {
     return(Ok(await _shopCartRepository.DeleteShopCart(userName)));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 删除购物车商品
 /// </summary>
 /// <param name = "id" ></ param >
 /// < returns ></ returns >
 public int DeleteShopCart(string id)
 {
     return(_ShopCartRepository.DeleteShopCart(id));
 }