public IActionResult Update(int id) { var autor = _autorRepository.FiltraPorId(id); if (autor == null) { return(NotFound()); } return(View(autor)); }