public ActionResult <Cart> Delete(int id) { try { return(Ok(_cs.Delete(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <Cart> Delete(int id) { try { return(Ok(_cs.Delete(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }