public static void append(long tID, long pID)
        {
            IDaoFactory daoFactory = new NHibernateDaoFactory();

            Track track = daoFactory.getTrackDao().GetById(tID, false);
            Playlist playlist = daoFactory.getPlaylistDao().GetById(pID, false);

            playlist.addEinsatz( new Einsatz( playlist, track ));
            Playlist_Service.updatePositions(playlist);
        }
        public static void persist(Playlist playlist, IList<Einsatz> einsaetze)
        {
            NHibernateDaoFactory daoFactory = new NHibernateDaoFactory();
            IPlaylistDao playlistDao = daoFactory.getPlaylistDao();
            ITrackDao trackDao = daoFactory.getTrackDao();
            IEinsatzDao einsatzDao = daoFactory.getEinsatzDao();

            playlistDao.save(playlist);
            foreach(Einsatz einsatz in einsaetze) {
                einsatz.Track = trackDao.save(einsatz.Track);
                einsatzDao.save(einsatz);
            }
        }