public ActionResult ListagemUsuarios() { try { List <Usuario> usuarios = gerenciador.ObterUsuarios().Where(u => u.Id != ((Usuario)SessionHelper.Get(SessionKeys.Pessoa)).Id).ToList(); if (usuarios == null || usuarios.Count == 0) { usuarios = null; } return(View(usuarios)); } catch (NegocioException n) { throw new ControllerException("Erro ao tentar obter os objetos.", n); } catch (Exception e) { throw new ControllerException("Erro ao tentar obter os objetos.", e); } }