Пример #1
0
 private void OnStoryAdded(StoryAddedToProductBacklog e)
 {
     // TODO: Determine what to do with entities that have a entity as parent
     // _stories.Add(new Story());
 }
Пример #2
0
 public void AddStory(string description)
 {
     var e = new StoryAddedToProductBacklog(Guid.NewGuid(), description);
     ApplyEvent(e);
 }