Пример #1
0
 public AgentService(
     IRepository <Agent> agentRepository,
     IRepository <Case> caseRepository,
     ITaskRouterManager taskRouter,
     IAppSettingsProvider appSettings,
     ILogger logger, AccountMatcher accountMatcher)
     : base(logger)
 {
     this.agentRepository = agentRepository;
     this.caseRepository  = caseRepository;
     this.taskRouter      = taskRouter;
     this.appSettings     = appSettings;
     this.accountMatcher  = accountMatcher;
 }
Пример #2
0
 public TransactionService(
     IRepository <Transaction> repository,
     IAppSettingsProvider appSettings,
     ILogger logger,
     IRepository <Customer> customerRepository,
     AccountMatcher accountMatcher,
     ISmsManager smsManager,
     IRepository <OwlFinanceAccount> accountRepository, IVoiceManager voiceManager)
     : base(logger)
 {
     this.appSettings        = appSettings;
     this.customerRepository = customerRepository;
     this.accountMatcher     = accountMatcher;
     this.smsManager         = smsManager;
     this.accountRepository  = accountRepository;
     this.voiceManager       = voiceManager;
     this.repository         = repository;
 }