Example #1
0
 public CommonRules(
     IAccountingSetUpQueries accountingQueries,
     IAuthorizationService authorizationService,
     IIdentityService identityService)
 {
     _accountingQueries    = accountingQueries;
     _authorizationService = authorizationService ?? throw new ArgumentNullException(nameof(authorizationService));
     _identityService      = identityService ?? throw new ArgumentNullException(nameof(identityService));
 }
 public TransactionDocumentService(IDistributedCache distributedCache,
                                   ITransactionDataRepository transactionDataRepository,
                                   IIdentityService identityService,
                                   IAuthorizationService authorizationService,
                                   IAccountingSetUpQueries accountingQueries,
                                   IProcessMessageService processMessageService)
 {
     _transactionDataRepository = transactionDataRepository;
     _distributedCache          = distributedCache ?? throw new ArgumentNullException(nameof(distributedCache));
     _authorizationService      = authorizationService;
     _identityService           = identityService;
     _accountingQueries         = accountingQueries;
     _processMessageService     = processMessageService;
 }
 public YearEndProcessListCommandHandler(
     ILogger <YearEndProcessListCommandHandler> logger,
     IIdentityService identityService,
     IUnitOfWork unitOfWork,
     IYearEndProcessRepository yearEndProcessRepository,
     IAuthorizationService authorizationService,
     IMapper mapper,
     IAccountingSetUpQueries accountingSetUpQueries,
     IProcessMessageService processMessageService,
     IYearEndProcessQueries yearEndProcessQueries)
 {
     _yearEndProcessRepository = yearEndProcessRepository ?? throw new ArgumentNullException(nameof(yearEndProcessRepository));
     _yearEndProcessQueries    = yearEndProcessQueries ?? throw new ArgumentNullException(nameof(yearEndProcessQueries));
     _authorizationService     = authorizationService ?? throw new ArgumentNullException(nameof(authorizationService));
     _unitOfWork             = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _logger                 = logger ?? throw new ArgumentNullException(nameof(logger));
     _mapper                 = mapper;
     _accountingSetUpQueries = accountingSetUpQueries;
     _identityService        = identityService ?? throw new ArgumentNullException(nameof(identityService));
     _processMessageService  = processMessageService;
 }
Example #4
0
 public ManualJournalCommandHandler(
     ILogger <ManualJournalCommandHandler> logger,
     IIdentityService identityService,
     IUnitOfWork unitOfWork,
     IManualJournalRepository manualJournalRepository,
     IManualJournalQueries manualJournalQueries,
     IProcessMessageService processMessageService,
     IAccountingSetUpQueries accountingQueries,
     IAuthorizationService authorizationService,
     IMasterDataService masterDataService)
 {
     _unitOfWork              = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _logger                  = logger ?? throw new ArgumentNullException(nameof(logger));
     _identityService         = identityService ?? throw new ArgumentNullException(nameof(identityService));
     _manualJournalRepository = manualJournalRepository;
     _manualJournalQueries    = manualJournalQueries;
     _processMessageService   = processMessageService;
     _accountingQueries       = accountingQueries;
     _authorizationService    = authorizationService ?? throw new ArgumentNullException(nameof(authorizationService));
     _masterDataService       = masterDataService ?? throw new ArgumentNullException(nameof(masterDataService));
 }
 public MonthEndTemporaryAdjustmentCommandHandler(
     ILogger <MonthEndTemporaryAdjustmentCommandHandler> logger,
     IIdentityService identityService,
     IUnitOfWork unitOfWork,
     IMonthEndTemporaryAdjustmentRepository monthEndTemporaryAdjustmentRepository,
     IAuthorizationService authorizationService,
     IMapper mapper,
     IAccountingSetUpQueries accountingSetUpQueries,
     IProcessMessageService processMessageService,
     IMonthEndTemporaryAdjustmetQueries monthEndTemporaryAdjustmetQueries)
 {
     _monthEndTemporaryAdjustmentRepository = monthEndTemporaryAdjustmentRepository ?? throw new ArgumentNullException(nameof(monthEndTemporaryAdjustmentRepository));
     _monthEndTemporaryAdjustmetQueries     = monthEndTemporaryAdjustmetQueries ?? throw new ArgumentNullException(nameof(monthEndTemporaryAdjustmetQueries));
     _authorizationService = authorizationService ?? throw new ArgumentNullException(nameof(authorizationService));
     _unitOfWork           = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _mapper = mapper;
     _accountingSetUpQueries = accountingSetUpQueries;
     _identityService        = identityService ?? throw new ArgumentNullException(nameof(identityService));
     _processMessageService  = processMessageService;
 }
Example #6
0
 public MonthEndTemporaryAdjustmentController(IMediator mediator, IAccountingSetUpQueries accountingSetUpQueries)
 {
     _mediator = mediator;
     _accountingSetUpQueries = accountingSetUpQueries;
 }
Example #7
0
 public AccountingSetUpController(IMediator mediator, IAccountingSetUpQueries accountingSetUpQueries)
 {
     _mediator = mediator;
     _accountingSetUpQueries = accountingSetUpQueries;
 }