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