Beispiel #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));
        }
Beispiel #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);
        }
Beispiel #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));
        }
Beispiel #4
0
        public OperationResult <int> InsertSong(Song song)
        {
            ConectionDB conn = new ConectionDB();

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

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