public string Initialize([FromBody] RequestBody requestBody) { SimpleCondition condition = new SimpleCondition(); //Need to parse query string using shunting yard algorithm and convert to ICondition. var token = _csvReader.Initialize(requestBody.ColumnNames, requestBody.csvName, condition); return(token); }
/*================================================================================================= * PUBLIC METHODS *================================================================================================*/ /*************************************************************************************************/ public void ParseUsersCSVFile(string file) { string line; _reader.Initialize(file); line = _reader.ReadLine(); while (ValidLine(line)) { _encryptedUserList.Add(ParseLine(line)); line = _reader.ReadLine(); } _reader.Close(); }