Ejemplo n.º 1
0
        // Make a request to the server to find a user based on their index in the database
        private async Task <DataIntermed> GetValuesFromIndex(int index)
        {
            RestRequest   req = new RestRequest(String.Format("/api/getall/{0}", index));
            IRestResponse res = await client.ExecuteGetAsync(req);

            DataIntermed result = JsonConvert.DeserializeObject <DataIntermed>(res.Content);

            return(result);
        }