public void Consume(SimpleStoryRenamed e) { _writer.UpdateOrThrow(v => v.Items[e.StoryId.Id].Name = e.NewName); }
void Rename(Identity id, string name) { _writer.UpdateOrThrow(i => i.Index[id.Id].Name = name); }
public void Consume(SimpleStoryRenamed e) { _writer.UpdateOrThrow(v => v.Items[e.StoryId.Id].Name = e.NewName); }
void Rename(Identity id, string name) { _writer.UpdateOrThrow(i => i.Index[id.Id].Name = name); }