public CustomerSubscriptionUpdatedEvent(IEmailSender emailSender, IOperationsCRUD <StripeEvent> eventsBL, IPaymentBL paymentBL) : base(eventsBL) { this.emailSender = emailSender; this.eventsBL = eventsBL; this.paymentBL = paymentBL; customerService = new CustomerService(); productService = new ProductService(); }
public CustomerSubscriptionDeletedEvent(IEmailSender emailSender, IOperationsCRUD <Owner> ownerBL, IOperationsCRUD <Gym> gymBL, IPaymentBL paymentBL, IOperationsCRUD <StripeEvent> eventsBL) : base(eventsBL) { this.emailSender = emailSender; this.ownerBL = ownerBL; this.gymBL = gymBL; this.paymentBL = paymentBL; customerService = new CustomerService(); productService = new ProductService(); }
/// <summary> /// Initializes a new instance of the <see cref="PaymentController"/> class. /// </summary> /// <param name="bL">value.</param> public PaymentController(IPaymentBL bL) { this.bl = bL; }
/// <summary> /// Initializes a new instance of the <see cref="PaymentBL"/> class. /// </summary> /// <param name="dal">dal.</param> public PaymentBL(IPaymentBL dal) { this.dal = dal; }