public String salvar() {
   RestauranteRN restauranteRN = new RestauranteRN();
   restauranteRN.salvar(this.restaurante, horaAbertura, horaEncerramento, horarioDePico);
   enviaMensagemFaces(
       FacesMessage.SEVERITY_INFO, "Sucesso", "Restaurante cadastrado com sucesso!");
   return "restaurantes";
 }
  public List<Restaurante> getLista() {
    if (this.lista == null) {

      RestauranteRN restauranteRN = new RestauranteRN();
      this.lista = restauranteRN.listar(dataFiltroVotos);
    }
    return this.lista;
  }
 public void excluir() {
   RestauranteRN restauranteRN = new RestauranteRN();
   restauranteRN.excluir(this.restaurante);
   this.lista = null;
 }