public RemitValidationHelper(IExchangeRateService exchangeRateService, ICurrencyService currencyService, IRemitSettingService remitSettingService,
                              IDiscountService discountService, IBeneficiaryService beneficiaryService, IUploadPic uploadPicService, IRemitRecordQueryRepositories remitRecordQueryRepositories)
 {
     this.exchangeRateService          = exchangeRateService;
     this.currencyService              = currencyService;
     this.remitSettingService          = remitSettingService;
     this.discountService              = discountService;
     this.beneficiaryService           = beneficiaryService;
     this.uploadPicService             = uploadPicService;
     this.remitRecordQueryRepositories = remitRecordQueryRepositories;
 }
Ejemplo n.º 2
0
 public RemitController(ILogger <RemitController> logger, IMapper mapper, IRemitSettingService remitSettingService, IRemitRecordService remitRecordService, IBeneficiaryService beneficiaryService
                        , IUserService userService, IDiscountService discountService, IRemitRecordQueryRepositories remitRecordQueryRepositories, RemitValidationHelper helper
                        , IBankService bankService)
 {
     this.Logger                       = logger ?? throw new ArgumentNullException(nameof(logger));
     this._mapper                      = mapper;
     this.userService                  = userService;
     this.remitSettingService          = remitSettingService;
     this.discountService              = discountService;
     this.remitRecordService           = remitRecordService;
     this.helper                       = helper;
     this.remitRecordQueryRepositories = remitRecordQueryRepositories;
     this.bankService                  = bankService;
 }