public ActionResult Editar(int id) { try { ViewBag.Generos = new SelectList(_generoRep.ListaGeneros(), "Id", "Descricao"); return View(_pessoaRep.retornapessoa(id)); } catch (Exception) { throw; } }