// GET: LivroController/Details/5 public ActionResult Details(int id) { Livro livro = _livroDAO.ObterPorId(id); return(View(livro)); }