mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
removed question id
This commit is contained in:
@@ -2,7 +2,7 @@ using LocalModels;
|
||||
using YamlDotNet.Serialization;
|
||||
using YamlDotNet.Serialization.NamingConventions;
|
||||
|
||||
public class YamlManager
|
||||
public class FileStorageManager
|
||||
{
|
||||
public string CourseToYaml(LocalCourse course)
|
||||
{
|
||||
@@ -66,10 +66,6 @@ public class YamlManager
|
||||
|
||||
foreach (var quiz in module.Quizzes)
|
||||
{
|
||||
var filePath = quizzesDirectory + "/" + quiz.Name + ".yml"; ;
|
||||
var quizYaml = quiz.ToYaml();
|
||||
await File.WriteAllTextAsync(filePath, quizYaml);
|
||||
|
||||
var markdownPath = quizzesDirectory + "/" + quiz.Name + ".md"; ;
|
||||
var quizMarkdown = quiz.ToMarkdown();
|
||||
await File.WriteAllTextAsync(markdownPath, quizMarkdown);
|
||||
Reference in New Issue
Block a user