Exemplo n.º 1
0
 public AuditAppService(
     IUnitOfWorkProvider uow,
     ILogger logger,
     IAuthContext auth,
     IAuditAppPermissions perms,
     IAuditDataContext context,
     IMapper mapper
     ) : base(uow, logger, auth)
 {
     _perms   = perms;
     _context = context;
     _mapper  = mapper;
 }
 public RequiredPaymentEventRepository(IAuditDataContext dataContext, IAuditDataContextFactory retryDataContextFactory, IPaymentLogger logger)
 {
     this.dataContext             = dataContext ?? throw new ArgumentNullException(nameof(dataContext));
     this.retryDataContextFactory = retryDataContextFactory ?? throw new ArgumentNullException(nameof(retryDataContextFactory));
     this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }