private List <FullName> RetrieveNamesFromStory(int storyId) { List <string> stories = StoryRetrievalService.GetStories(); AssertValidStoryId(stories, storyId); string story = StoryRetrievalService.GetStory(stories, storyId); List <FullName> fullNames = StoryRetrievalService.GetNamesFromStory(story, storyId); return(fullNames); }
private string RetrieveAnonymizedStory(int storyId) { List <string> stories = StoryRetrievalService.GetStories(); AssertValidStoryId(stories, storyId); string story = StoryRetrievalService.GetStory(stories, storyId); List <FullName> names = StoryRetrievalService.GetNamesFromStory(story, storyId); string anonymizedStory = StoryRetrievalService.AnonymizeStory(story, names); return(anonymizedStory); }