Example #1
0
        public async Task <IActionResult> Delete(int id)
        {
            await _categoriaService.ExcluirAsync(id);

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