示例#1
0
        public IActionResult CreateOrder(Order order)
        {
            IActionResult res = Ok();

            if (!DBAccess.AddOrder(order))
            {
                res = NotFound(DBAccess.errormeme);
            }
            return(res);
        }