示例#1
0
        public void deleteSong(string name)
        {
            DBService dbs = new DBService();

            dbs.deleteSong(name);
        }
示例#2
0
        public List <Music> getArtistSongs(string email)
        {
            DBService dbs = new DBService();

            return(dbs.getArtistSong(email));
        }
示例#3
0
        public List <Music> getAllSongs()
        {
            DBService dbs = new DBService();

            return(dbs.getAllSongs());
        }
示例#4
0
        public byte[] playMusic(string listEmail, string musName)
        {
            DBService dbs = new DBService();

            return(dbs.playMusic(listEmail, musName));
        }
示例#5
0
        public void saveSong()
        {
            DBService dbs = new DBService();

            dbs.saveSong(this);
        }
示例#6
0
        public List <Music> getSongs(string artistEmail)
        {
            DBService dbs = new DBService();

            return(dbs.getSongs(artistEmail));
        }
示例#7
0
        public Listener populateHome(string email, string password)
        {
            DBService dbs = new DBService();

            return(dbs.populateHomeListener(email, password));
        }
示例#8
0
        public void updateListener()
        {
            DBService dbs = new DBService();

            dbs.updateListener(this);
        }
示例#9
0
        public void saveListener()
        {
            DBService dbs = new DBService();

            dbs.saveListener(this);
        }
示例#10
0
        public int loginListener(string email, string password)
        {
            DBService dbs = new DBService();

            return(dbs.loginListener(email, password));
        }
示例#11
0
        public void updateArtist()
        {
            DBService dbs = new DBService();

            dbs.updateArtist(this);
        }
示例#12
0
        public Artist populateHome(string email, string password)
        {
            DBService dbs = new DBService();

            return(dbs.populateHomeArtist(email, password));
        }
示例#13
0
        public void saveArtist()
        {
            DBService dbs = new DBService();

            dbs.saveArtist(this);
        }