static void Save(List <Question> questions)
        {
            var jsonData = JsonConvert.SerializeObject(questions, Formatting.Indented);

            FileProvider.Replase(Path, jsonData);
        }
示例#2
0
        static void Save(List <User> userResults)
        {
            var jsonData = JsonConvert.SerializeObject(userResults, Formatting.Indented);

            FileProvider.Replase(Path, jsonData);
        }