public async Task <IActionResult> Delete(string id) { await _nivelAcesso.Excluir(id); _logger.LogInformation("Nivel de acesso excluido..."); return(RedirectToAction(nameof(Index))); }
public async Task <IActionResult> Delete(string id) { await _nivelAcessoRepositorio.Excluir(id); return(RedirectToAction(nameof(Index))); }