Esempio n. 1
0
 public CheckoutService(StoreContext context,
                        IBaseServise baseServise,
                        IProductPiecesAvailableService productPiecesAvailableService,
                        IPaymentValidatorService paymentValidatorService)
 {
     db           = context;
     _baseServise = baseServise;
     _productPiecesAvailableService = productPiecesAvailableService;
     _paymentValidatorService       = paymentValidatorService;
 }
Esempio n. 2
0
 public ListPaymentsBL(IPaymentValidatorService validatorService)
 {
     this.ValidatorService = validatorService;
 }
Esempio n. 3
0
 public CancelPaymentBL(IPaymentValidatorService validatorService)
 {
     this.ValidatorService = validatorService;
 }
Esempio n. 4
0
 public PaymentService(IPaymentValidatorService validatorService)        // dependency injection
 {
     PaymentValidatorService = validatorService;
 }
Esempio n. 5
0
 public CreatePaymentBL(IPaymentValidatorService validatorService)
 {
     this.ValidatorService = validatorService;
 }
Esempio n. 6
0
 public ApprovePaymentBL(IPaymentValidatorService validatorService)
 {
     this.ValidatorService = validatorService;
 }