Repository and (in-memory) event store