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

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

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

            return(song);
        }