Example #1
0
        public async Task <IActionResult> Delete(int id)
        {
            var programador = new Programador {
                Id = id
            };

            _context.Remove(programador);
            await _context.SaveChangesAsync();

            return(NoContent());
        }