public async Task <IActionResult> Delete(int id) { var programador = new Programador { Id = id }; _context.Remove(programador); await _context.SaveChangesAsync(); return(NoContent()); }