Beispiel #1
0
        public IActionResult Delete(string id)
        {
            var peca = _dbService.Get(id);

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

            _dbService.Remove(peca.Id);

            return(NoContent());
        }