예제 #1
0
        public IActionResult Delete(string id)
        {
            var tree = _treeService.Get(id);

            if (tree == null)
            {
                return(NotFound());
            }

            _treeService.Remove(tree.Id);

            return(NoContent());
        }