// POST api/<controller> public CartModel Post(CartModel cart) { try { _cartHelper = new CartHelper(); return(_cartHelper.CreateCart(cart)); } catch (Exception ex) { return(null); } }
// POST api/<controller> public CartModel Post(CartModel cart) { try { _cartHelper = new CartHelper(); return(_cartHelper.CreateCart(cart)); } catch (Exception ex) { return(null); } }