public SurveyResultsDefinition GetResults(string postId)
        {
            var storage = GetResults();
            var results = SurveyResultsDefinition.FindById(storage, postId);

            return(results);
        }
        public void PostResults(string postId, string resultJson)
        {
            var storage = GetResults();
            var results = SurveyResultsDefinition.FindById(storage, postId);

            if (results == null)
            {
                results = new SurveyResultsDefinition {
                    id = postId
                };
                storage.Add(results);
            }
            results.data.Add(resultJson);
            session.SetString("ResultsStorage", JsonConvert.SerializeObject(storage));
        }