public string ReadRows(string token, int numRows) { List <QueryResult> queryResults; int rows = _csvReader.ReadRows(numRows, out queryResults, token); QueryResultResponse queryResponse = new QueryResultResponse(); queryResponse.queryResult = queryResults; queryResponse.numRows = rows; string result = JsonConvert.SerializeObject(queryResponse); return(result); }