Beispiel #1
0
        public List <Song> Search(String keyword)
        {
            List <Song> songs = new SongDAO().SelectByKeyword(keyword);

            return(songs);
        }
Beispiel #2
0
        public List <Song> GetAll()
        {
            List <Song> songs = new SongDAO().SelectAll();

            return(songs);
        }
Beispiel #3
0
        public Song GetDetails(int id)
        {
            Song song = new SongDAO().SelectById(id);

            return(song);
        }