示例#1
0
        public IHttpActionResult Delete(int id)
        {
            var node = _ar.GetNode(id);

            if (node == null)
            {
                return(NotFound());
            }
            else
            {
                _ar.Delete(node);
                return(Ok());
            }
        }