예제 #1
0
        public IHttpActionResult Get(int id)
        {
            var order = _business.GetById(id);

            if (order != null)
            {
                return(Ok(order));
            }
            return(BadRequest());
        }