示例#1
0
        public IActionResult Delete(string id)
        {
            var temp = _tempService.Get(id);

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

            _tempService.Remove(temp.Id);

            return(NoContent());
        }