public IHttpActionResult Post(Cart cart) { try { var mng = new CartManager(); mng.Create(cart); apiResp = new ApiResponse(); apiResp.Message = "Se ha registrado correctamente."; return(Ok(apiResp)); } catch (BussinessException bex) { return(InternalServerError(new Exception(bex.ExceptionId + "-" + bex.AppMessage.Message))); } }