showAll

 @Override
    public String showAll() {
        try {
            marcaList = new ArrayList<>();
            marcaFiltered = new ArrayList<>();
            marcaList = marcaRepository.findAll();
            marcaFiltered = marcaList;
            marcaDataModel = new MarcaDataModel(marcaList);

        } catch (Exception e) {
            JsfUtil.errorMessage("showAll()" + e.getLocalizedMessage());
        }
        return "";
    }

Last updated