public async Task AddAsync(WorkflowSetting entity, CancellationToken cancellationToken = default)
        {
            await _mediator.Publish(new WorkflowSettingsSaving(entity), cancellationToken);

            await _store.AddAsync(entity, cancellationToken);

            await _mediator.Publish(new WorkflowSettingsSaved(entity), cancellationToken);
        }
 public async Task AddAsync(WorkflowSetting entity, CancellationToken cancellationToken = default)
 {
     entity = Initialize(entity);
     await _store.AddAsync(entity, cancellationToken);
 }