Esempio n. 1
0
        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));
        }
Esempio n. 3
0
        public ActionResult Edit()
        {
            var ong = _ongDAO.Buscar(UsuarioInfo.Id);

            return(View(ong));
        }