Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentBL"/> class.
 /// </summary>
 /// <param name="dal">dal.</param>
 public PaymentBL(IPaymentBL dal)
 {
     this.dal = dal;
 }