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