public ActionResult Index(int idOng = 0, string pesquisa = "") { IEnumerable <Animal> animais = _animalDAO.ListarAnimalOng(idOng); var ong = _ongDAO.Buscar(idOng); ViewBag.NomeOng = ong.Nome; return(View(animais)); }
public ActionResult VisualizarPerfilOng() { var ong = _ongDAO.Buscar(UsuarioInfo.Id); return(View(ong)); }
public ActionResult Edit() { var ong = _ongDAO.Buscar(UsuarioInfo.Id); return(View(ong)); }