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

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

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