public ReportsService(
     ICustomerTiersRepository customerTiersRepository,
     ITiersRepository tiersRepository)
 {
     _customerTiersRepository = customerTiersRepository;
     _tiersRepository         = tiersRepository;
 }
示例#2
0
 public CustomersService(
     ICustomerTiersRepository customerTiersRepository,
     ICustomerBonusesRepository customerBonusesRepository,
     ITiersService tiersService,
     IRabbitPublisher <CustomerTierChangedEvent> customerTierChangedPublisher,
     ICustomerProfileClient customerProfileClient,
     ILogFactory logFactory)
 {
     _customerTiersRepository   = customerTiersRepository;
     _customerBonusesRepository = customerBonusesRepository;
     _tiersService = tiersService;
     _customerTierChangedPublisher = customerTierChangedPublisher;
     _customerProfileClient        = customerProfileClient;
     _log = logFactory.CreateLog(this);
 }