private SalesPerson ReadDataFromResponseStream() { // TODO: 06: Create an HttpWebResponse object. var response = this._request.GetResponse() as HttpWebResponse; // TODO: 07: Check to see if the response contains any data. if (response.ContentLength == 0) { return(null); } // TODO: 08: Read and process the response data. var stream = new StreamReader(response.GetResponseStream()); var result = SalesPerson.FromJson(stream.BaseStream); stream.Close(); return(result); }