Ejemplo n.º 1
0
        // GET api/values
        public async Task <IEnumerable <string> > Get()
        {
            _everlive = new EverliveRestClient(new HttpRestClient.HttpRestClient());
            var tags = await _everlive.All <ArtifactViewModel>("Artifact", fields : "{ \"Tag\": 1 }");

            return(tags.Select(e => e.Tag).Distinct());
        }
Ejemplo n.º 2
0
 // GET api/values
 public async Task<IEnumerable<string>> Get()
 {
     _everlive = new EverliveRestClient(new HttpRestClient.HttpRestClient());
     var tags = await _everlive.All<ArtifactViewModel>("Artifact", fields: "{ \"Tag\": 1 }");
     return tags.Select(e => e.Tag).Distinct();
 }