Exemple #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public PublishApplicationCommandHandler(
     ApplicationDbContext dbContext,
     IMapper mapper,
     IEmailRendererService emailRendererService,
     ISmptService smptService)
 {
     this.dbContext            = dbContext;
     this.mapper               = mapper;
     this.emailRendererService = emailRendererService;
     this.smptService          = smptService;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public SendApplicationCommandHandler(
     ApplicationDbContext dbContext,
     IMapper mapper,
     IEmailRendererService emailRendererService,
     ISmptService smptService,
     UserManager <Domain.Entities.User> userManager,
     IAccessUserPrincipalService accessUserPrincipalService,
     IMediator mediator)
 {
     this.accessUserPrincipalService = accessUserPrincipalService;
     this.dbContext            = dbContext;
     this.mapper               = mapper;
     this.emailRendererService = emailRendererService;
     this.smptService          = smptService;
     this.userManager          = userManager;
     this.mediator             = mediator;
 }