public IActionResult GetJsonByQuery(string queryUser)
        {
            string[] query = queryUser.Split(",");
            string   json  = _discogsClient.SetQuery(query).SearchJsonByQuery();

            return(Content(json));
        }
Exemplo n.º 2
0
        public IActionResult Albums(string queryUser)
        {
            DiscogsClientModel discogsClient = new DiscogsClientModel();

            if (!string.IsNullOrEmpty(queryUser))
            {
                string[] query = queryUser.Split(",");

                string json = discogsClient.SetQuery(query).SearchJsonByQuery();

                return(Content(json));
            }

            return(Content(""));
        }