Ejemplo n.º 1
0
 public PaymentsUnitOfWork(PaymentsContext context)
 {
     _context               = context;
     ProductRepository      = new ProductRepository(context);
     PaymentRepository      = new PaymentRepository(context);
     PayPalPlanRepository   = new PayPalPlanRepository(context);
     SubscriptionRepository = new SubscriptionRepository(context);
 }
Ejemplo n.º 2
0
 protected PaymentsRepositoryBase(PaymentsContext context)
 {
     Context = context;
 }