public async Task <IActionResult> DeleteConfirmed(int id) { await _departamentoService.RemoveAsync(id); return(RedirectToAction(nameof(Index))); }