add SaveBurnedPdfBehavior to services
This commit is contained in:
@@ -11,6 +11,7 @@ using Microsoft.Extensions.Options;
|
||||
using QRCoder;
|
||||
using System.Reflection;
|
||||
using GdPicture14;
|
||||
using EnvelopeGenerator.Application.Common.Behaviors;
|
||||
|
||||
namespace EnvelopeGenerator.Application;
|
||||
|
||||
@@ -86,6 +87,7 @@ public static class DependencyInjection
|
||||
services.AddMediatR(cfg =>
|
||||
{
|
||||
cfg.RegisterServicesFromAssembly(Assembly.GetExecutingAssembly());
|
||||
cfg.AddBehavior<SaveBurnedPdfBehavior>();
|
||||
});
|
||||
|
||||
// Add memory cache
|
||||
|
||||
Reference in New Issue
Block a user