Пример #1
0
 public BalanceController(IServiceProvider serviceProvider,
                          IOrganizationCustomer customer,
                          ICustomerBalanceService balanceService) : base(serviceProvider)
 {
     _customer       = customer;
     _balanceService = balanceService;
 }
Пример #2
0
 public VideoRequestController(
     IVideoRequestService videoRequestService,
     IVideoRequestTypeService videoRequestTypeService,
     ITalentService talentService,
     ICustomerService customerService,
     IHangfireService hangfireService,
     ITalentBalanceService talentBalanceService,
     ICustomerBalanceService customerBalanceService,
     IVideoRequestPriceCalculationsService videoRequestPriceCalculationsService,
     IInvoiceService invoiceService,
     IPaymoService paymoService,
     ILogger <VideoRequestController> logger)
 {
     VideoRequestService     = videoRequestService;
     VideoRequestTypeService = videoRequestTypeService;
     TalentService           = talentService;
     CustomerService         = customerService;
     HangfireService         = hangfireService;
     TalentBalanceService    = talentBalanceService;
     CustomerBalanceService  = customerBalanceService;
     VideoRequestPriceCalculationsService = videoRequestPriceCalculationsService;
     InvoiceService = invoiceService;
     PaymoService   = paymoService;
     _logger        = logger;
 }
Пример #3
0
 public VideoRequestPriceCalculationsService(
     ITalentBalanceService talentBalanceService,
     ICustomerBalanceService customerBalanceService)
 {
     TalentBalanceService   = talentBalanceService;
     CustomerBalanceService = customerBalanceService;
 }
Пример #4
0
 public CustomerController(
     ICustomerService customerService,
     IAttachmentService attachmentService,
     ICustomerBalanceService customerBalanceService,
     ILogger <CustomerController> logger)
 {
     CustomerService        = customerService;
     AttachmentService      = attachmentService;
     CustomerBalanceService = customerBalanceService;
     _logger = logger;
 }
Пример #5
0
 public VideoRequestService(IVideoRequestRepository repository,
                            IUnitOfWork unitOfWork,
                            ITalentBalanceService talentBalanceService,
                            ICustomerBalanceService customerBalanceService,
                            IVideoRequestPriceCalculationsService videoRequestPriceCalculationsService,
                            IFirebaseRegistrationTokenService firebaseRegistrationTokenService,
                            IPaymoService paymoService,
                            IInvoiceService invoiceService)
     : base(repository, unitOfWork)
 {
     TalentBalanceService   = talentBalanceService;
     CustomerBalanceService = customerBalanceService;
     VideoRequestPriceCalculationsService = videoRequestPriceCalculationsService;
     FirebaseRegistrationTokenService     = firebaseRegistrationTokenService;
     PaymoService   = paymoService;
     InvoiceService = invoiceService;
 }