Exemplo n.º 1
0
        private static CollectResult SearchArtist(string type, string id, string page, string size)
        {
            IMusic music;

            switch (type)
            {
            case "wy":
                music = new WyMusic();
                break;

            default:
                return(null);
            }
            return(music.CollectSearch(id, Convert.ToInt32(page), Convert.ToInt32(size)));
        }