public void Consume(NoteEdited e) { _writer.UpdateOrThrow(e.NoteId, nv => nv.Text = e.NewText); }
public void Consume(SimpleStoryRenamed e) { _writer.UpdateOrThrow(e.StoryId, v => v.Name = e.NewName); }
public void Consume(TaskRenamed e) { _writer.UpdateOrThrow(e.StoryId, sv => sv.UpdateTask(e.TaskId, n => n.Text = e.NewText)); }
public void Consume(TagAddedToStory e) { _writer.UpdateOrThrow(e.TagId, v => v.AddStory(e.StoryId, e.StoryName)); }
public void Consume(NoteRenamed e) { _writer.UpdateOrThrow(e.StoryId, sv => sv.UpdateNote(e.NoteId, n => n.Title = e.NewName)); }