arrange folder structure of notification
This commit is contained in:
parent
763f022a5e
commit
bb85437cc4
@ -1,5 +1,5 @@
|
||||
using DigitalData.Core.Client;
|
||||
using EnvelopeGenerator.Application.Common.Notifications;
|
||||
using EnvelopeGenerator.Application.Common.DocSignedNotification;
|
||||
using EnvelopeGenerator.Application.Configurations;
|
||||
using EnvelopeGenerator.Application.EnvelopeReceivers.Commands;
|
||||
using EnvelopeGenerator.Application.Interfaces.Services;
|
||||
@ -59,8 +59,6 @@ public static class DependencyInjection
|
||||
services.AddMediatR(cfg =>
|
||||
{
|
||||
cfg.RegisterServicesFromAssembly(Assembly.GetExecutingAssembly());
|
||||
cfg.RegisterServicesFromAssembly(typeof(CreateEnvelopeReceiverCommandHandler).Assembly);
|
||||
cfg.RegisterServicesFromAssembly(typeof(DocSignedNotification).Assembly);
|
||||
});
|
||||
|
||||
return services;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
using MediatR;
|
||||
using System.Dynamic;
|
||||
|
||||
namespace EnvelopeGenerator.Application.Common.Notifications;
|
||||
namespace EnvelopeGenerator.Application.Notifications.DocSigned;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
@ -3,12 +3,12 @@ using EnvelopeGenerator.Domain.Constants;
|
||||
using MediatR;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace EnvelopeGenerator.Application.Common.Notifications.Handlers;
|
||||
namespace EnvelopeGenerator.Application.Notifications.DocSigned.Handlers;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class DocSignedNotificationAnnotationHandler : INotificationHandler<DocSignedNotification>
|
||||
public class AnnotationHandler : INotificationHandler<DocSignedNotification>
|
||||
{
|
||||
private readonly ISender _sender;
|
||||
|
||||
@ -16,7 +16,7 @@ public class DocSignedNotificationAnnotationHandler : INotificationHandler<DocSi
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
public DocSignedNotificationAnnotationHandler(ISender sender)
|
||||
public AnnotationHandler(ISender sender)
|
||||
{
|
||||
_sender = sender;
|
||||
}
|
||||
@ -1,15 +1,14 @@
|
||||
using EnvelopeGenerator.Application.DocStatus.Commands;
|
||||
using EnvelopeGenerator.Application.Histories.Commands;
|
||||
using EnvelopeGenerator.Application.Histories.Commands;
|
||||
using EnvelopeGenerator.Domain.Constants;
|
||||
using MediatR;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace EnvelopeGenerator.Application.Common.Notifications.Handlers;
|
||||
namespace EnvelopeGenerator.Application.Notifications.DocSigned.Handlers;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class DocSignedNotificationHistoryHandler : INotificationHandler<DocSignedNotification>
|
||||
public class HistoryHandler : INotificationHandler<DocSignedNotification>
|
||||
{
|
||||
private readonly ISender _sender;
|
||||
|
||||
@ -17,7 +16,7 @@ public class DocSignedNotificationHistoryHandler : INotificationHandler<DocSigne
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
public DocSignedNotificationHistoryHandler(ISender sender)
|
||||
public HistoryHandler(ISender sender)
|
||||
{
|
||||
_sender = sender;
|
||||
}
|
||||
@ -11,9 +11,7 @@ using EnvelopeGenerator.Web.Extensions;
|
||||
using MediatR;
|
||||
using System.Dynamic;
|
||||
using EnvelopeGenerator.Application.EnvelopeReceivers.Queries;
|
||||
using EnvelopeGenerator.Application.DocStatus.Commands;
|
||||
using Newtonsoft.Json;
|
||||
using EnvelopeGenerator.Application.Common.Notifications;
|
||||
using EnvelopeGenerator.Application.Notifications.DocSigned;
|
||||
using DigitalData.Core.Exceptions;
|
||||
|
||||
namespace EnvelopeGenerator.Web.Controllers;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user