public IActionResult DeleteCart(Cart cart) { try { cartService.DeleteCart(cart); return(Ok()); } catch (Exception) { return(BadRequest()); } }