public async Task StoreStory(IStory story) { if (!Directory.Exists(_storyFolderPath)) { Directory.CreateDirectory(_storyFolderPath); } await File.WriteAllTextAsync(Path.Combine(_storyFolderPath, story.FileName()), JsonConvert.SerializeObject(story)); }