Exemplo n.º 1
0
        public T Get <T>(string action)
        {
            var request  = new BasecampRequest(this, action);
            var response = request.GetResponse <T>();

            return(response.Content);
        }
Exemplo n.º 2
0
        public T GetResponseFromUrl <T>(string absoluteUrl)
        {
            var request  = new BasecampRequest(this, new Uri(absoluteUrl));
            var response = request.GetResponse <T>();

            return(response.Content);
        }