Generator Changes at 11/16/2025 12:48:45 AM +03:30

This commit is contained in:
masoodafar-web
2025-11-16 00:53:15 +03:30
parent 974f3c788f
commit 0a649325f8
75 changed files with 1460 additions and 7 deletions
@@ -0,0 +1,22 @@
using CMSMicroservice.Domain.Events;
using Microsoft.Extensions.Logging;
namespace CMSMicroservice.Application.UserContractCQ.EventHandlers;
public class CreateNewUserContractEventHandler : INotificationHandler<CreateNewUserContractEvent>
{
private readonly ILogger<
CreateNewUserContractEventHandler> _logger;
public CreateNewUserContractEventHandler(ILogger<CreateNewUserContractEventHandler> logger)
{
_logger = logger;
}
public Task Handle(CreateNewUserContractEvent notification, CancellationToken cancellationToken)
{
_logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name);
return Task.CompletedTask;
}
}