public IActionResult SubmitShoppingCart(string shoppingCartId) { try { _shoppingCartManager.SubmitShoppingCart(shoppingCartId); return(NoContent()); } catch (Exception ex) { return(StatusCode(500, new { ErrorMessage = ex.ToString() })); } }
public IActionResult SubmitShoppingCart(string shoppingCartId) { try { _shoppingCartManager.SubmitShoppingCart(shoppingCartId); return(NoContent()); } catch (Exception ex) { return(StatusCode(500, new { ErrorMessage = ex.ToString() })); } }