private async Task PerformPersist(SubmitContext context, CancellationToken cancellationToken)
        {
            if (executor == null)
            {
                throw new NotSupportedException(Resources.SubmitExecutorMissing);
            }

            context.Result = await executor.ExecuteSubmitAsync(context, cancellationToken).ConfigureAwait(false);
        }
 private async Task PerformPersist(SubmitContext context, CancellationToken cancellationToken)
 {
     context.Result = await executor.ExecuteSubmitAsync(context, cancellationToken).ConfigureAwait(false);
 }