Exemple #1
0
 public ReturnCalculationDataService(IVsbService vsbService,
                                     IReturnValidationService validationService,
                                     IReturnPropositionService propositionService)
 {
     _vsbService         = vsbService;
     _validationService  = validationService;
     _propositionService = propositionService;
 }
        public ReturnPropositionService(IReturnValidationService validation,
                                        IPaymentLineService paymentLineService,
                                        IServiceProvider serviceProvider)
        {
            _validation         = validation;
            _paymentLineService = paymentLineService;

            _returnItemServices = serviceProvider.GetServices <IReturnItemService>();
        }