public IActionResult DeleteCart(int cartId) { try { _repo.DeleteCart(cartId); return(Ok()); } catch (Exception e) { return(NotFound(e.Message)); } }