Exemplo n.º 1
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            await _service.DeleteAsync(id);

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