Пример #1
0
 public ManageSubscriptionController(ISubscriptionService service,
                                     ITenantService tenantService,
                                     ISubscriptionPaymentService subscriptionPaymentService) : base(service)
 {
     _service       = service;
     _tenantService = tenantService;
     _subscriptionPaymentService = subscriptionPaymentService;
 }
 public SubscriptionService(ISubscriptionRepository repository,
                            ISubscriptionPaymentService subscriptionPaymentService,
                            ITenantService tenantService) : base(repository)
 {
     _repository = repository;
     _subscriptionPaymentService = subscriptionPaymentService;
     _tenantService = tenantService;
 }
Пример #3
0
 public SubscriptionPaymentController(ISubscriptionPaymentService service, ISubscriptionService subscriptionService, ISmsService smsService) : base(service)
 {
     _service             = service;
     _subscriptionService = subscriptionService;
     _smsService          = smsService;
 }