Пример #1
0
        public async Task <IActionResult> DeleteConfirmed(int?id)
        {
            var jogo = await _context.PesquisarporIdAsync((int)id);

            await _context.DeleteAsync(jogo);

            return(RedirectToAction(nameof(Index)));
        }