Esempio n. 1
0
        public IActionResult PostOrder(int id)
        {
            var success = _orders.PostOrder(id);

            if (success)
            {
                return(Ok());
            }
            return(BadRequest(new { Message = "Post was a Complete Failure" }));
        }