Ejemplo n.º 1
0
 public CustomerService(IValidator <Customer> customerValidator, IRepository <Company> companyRepository, IRepository <Customer> customerRepository, ICustomerCreditService customerCreditService)
 {
     _customerValidator     = customerValidator;
     _companyRepository     = companyRepository;
     _customerRepository    = customerRepository;
     _customerCreditService = customerCreditService;
 }
 public OnboardingService(
     IAccessDatabase dataAccess,
     ICustomerCreditService customerCreditService)
 {
     this.dataAccess            = dataAccess;
     this.customerCreditService = customerCreditService;
 }
 public CustomerService(ICompanyRepository companyRepo,
                        ICustomerCreditService customerCreditServiceClient,
                        ICustomerDataAccess customerDataAccess)
 {
     _companyRepo        = companyRepo;
     _creditClient       = customerCreditServiceClient;
     _customerDataAccess = customerDataAccess;
 }
Ejemplo n.º 4
0
 public CreditController(ICreditRepository repository, ICustomerCreditService creditService, IMapper mapper, LinkGenerator linkGenerator,
                         ILogger <CreditController> logger)
 {
     _repository    = repository;
     _mapper        = mapper;
     _linkGenerator = linkGenerator;
     _logger        = logger;
     _creditService = creditService;
 }
Ejemplo n.º 5
0
 public CreateOrderHandler(
     ICustomerCreditService customerCreditService,
     IOrderRepository orderRepository,
     IBus bus)
 {
     _customerCreditService = customerCreditService;
     _orderRepository       = orderRepository;
     _bus = bus;
 }
Ejemplo n.º 6
0
 public CustomerCreditController(ICustomerCreditService customerCreditService)
 {
     _customerCreditService = customerCreditService;
 }
 public CustomerCreditController(ICustomerCreditService customerCreditService)
 {
     _customerCreditService = customerCreditService;
 }
Ejemplo n.º 8
0
 public CreditProvider(ICustomerCreditService customerCreditService)
 {
     _customerCreditService = customerCreditService;
 }
Ejemplo n.º 9
0
 public CreditCheckRule(ICustomerCreditService customerCreditService, IRepository <Company> companyRepository, int creditLimit = 500)
 {
     _customerCreditService = customerCreditService;
     _companyRepository     = companyRepository;
     _creditLimit           = creditLimit;
 }
Ejemplo n.º 10
0
 public CustomerService(ICompanyRepository companyRepository, ICustomerRepository customerRepository, ICustomerCreditService customerCreditService)
 {
     _companyRepository     = companyRepository;
     _customerRepository    = customerRepository;
     _customerCreditService = customerCreditService;
 }
Ejemplo n.º 11
0
 public CustomerService(ICompanyRepository companyRepository, ICustomerCreditService customerCreditService, ICustomerDataAccessProvider provider)
 {
     this.CustomerCreditService = customerCreditService;
     this.CompanyRepository = companyRepository;
     this.Provider = provider;
 }