public CheckoutService(StoreContext context, IBaseServise baseServise, IProductPiecesAvailableService productPiecesAvailableService, IPaymentValidatorService paymentValidatorService) { db = context; _baseServise = baseServise; _productPiecesAvailableService = productPiecesAvailableService; _paymentValidatorService = paymentValidatorService; }
public ListPaymentsBL(IPaymentValidatorService validatorService) { this.ValidatorService = validatorService; }
public CancelPaymentBL(IPaymentValidatorService validatorService) { this.ValidatorService = validatorService; }
public PaymentService(IPaymentValidatorService validatorService) // dependency injection { PaymentValidatorService = validatorService; }
public CreatePaymentBL(IPaymentValidatorService validatorService) { this.ValidatorService = validatorService; }
public ApprovePaymentBL(IPaymentValidatorService validatorService) { this.ValidatorService = validatorService; }