コード例 #1
0
        public List <SongArtist> GetListSongContract(string Artist)
        {
            //Conection to DB
            ConectionDB Conn = new ConectionDB();

            //Use of Methods of Conn return a List of Songs
            return(Conn.ListArtist(Artist));
        }
コード例 #2
0
        public List <Song> GetSearchGenListSong(string Genre)
        {
            //Conection to DB Instance
            ConectionDB conn = new ConectionDB();

            //use the method of ListGen
            return(conn.ListGen(Genre).OpResult);
        }
コード例 #3
0
        public List <Song> GetListSongContract(string Gender)
        {
            //Conection to DB
            ConectionDB Conn = new ConectionDB();

            //Use of Methods of Conn return a List of Songs
            return(Conn.ListGen(Gender));
        }
コード例 #4
0
        public OperationResult <int> InsertSong(Song song)
        {
            ConectionDB conn = new ConectionDB();

            return(conn.InsertSong(song));
        }
コード例 #5
0
        public string AddAlbum(int ReleaseYear, string Album)
        {
            ConectionDB x = new ConectionDB();

            return(x.ADDALBUM(Album, ReleaseYear).OpMesssage);
        }