public static DAOTemplate getInstance(){
        switch(showPersistenceTypeAsk()){
            case 0:
                return DAOFilePersistence.getInstance();
            case 1:
                return DAOMemoryPersistence.getInstance();
            default:
                return null;
        }
    }