diff --git a/docs/cqrs/local_execution/index.md b/docs/cqrs/local_execution/index.md index 8af6ac9d..e8451bd4 100644 --- a/docs/cqrs/local_execution/index.md +++ b/docs/cqrs/local_execution/index.md @@ -41,20 +41,21 @@ public override void ConfigureServices(IServiceCollection services) // Registers executor for local commands .WithLocalCommands(c => c + .CQRSTrace() .Secure() .Validate() .TranslateExceptions() .CommitTransaction()) // Registers executor for local queries - .WithLocalQueries(c => c - .Validate() - .TranslateExceptions()) + .WithLocalQueries(q => q + .CQRSTrace() + .Secure()) // Registers executor for local operations - .WithLocalOperations(c => c + .WithLocalOperations(o => o + .CQRSTrace() .Secure() - .TranslateExceptions() .CommitTransaction()); } ```