public void Handle(StoryStarting eventToHandle) { Story story = eventToHandle.Story; var storyResult = new StoryResult { Id = story.Id, Summary = story.Summary }; Result.Add(storyResult); }
public void Add(StoryResult storyResult) { _stories.Add(storyResult); }
public void StoryStarting(Story story) { var storyResult = new StoryResult { Id = story.Id, Summary = story.Summary }; Result.Add(storyResult); }