public void Dispose()
 {
     eventStore.Dispose();
 }