Ejemplo n.º 1
0
        internal static async Task <BacklogResponse <Star> > AddTo(object parameters, BacklogClient client)
        {
            var response = await client.GetAsync("/api/v2/stars", parameters).ConfigureAwait(false);

            return(await client.CreateResponseAsync <Star, _Star>(
                       response,
                       HttpStatusCode.NoContent,
                       data => new Star(data, client)).ConfigureAwait(false));
        }