public IActionResult Delete([FromQuery(Name = "u")] Guid userId, [FromQuery(Name = "ci")] Guid cartItemId)
 {
     cartRepo.DeleteCartItem(userId, cartItemId);
     return(new OkResult());
 }
Ejemplo n.º 2
0
 public bool Delete(int id)
 {
     return(cartRepo.DeleteCartItem(id));
 }