public ProductController(
     IProductApiClient productClient,
     ICustomerApiClient customerClient)
 {
     _productClient  = productClient;
     _customerClient = customerClient;
 }
 public CustomerViewModelService(
     ILogger <CustomerViewModelService> logger,
     IMapper mapper,
     ICustomerApiClient customerApiClient,
     IReferenceDataApiClient referenceDataApiClient,
     ISalesPersonApiClient salesPersonApiClient
     )
 {
     this.logger                 = logger;
     this.mapper                 = mapper;
     this.customerApiClient      = customerApiClient;
     this.referenceDataApiClient = referenceDataApiClient;
     this.salesPersonApiClient   = salesPersonApiClient;
 }
 public CustomerService(
     ILogger <CustomerService> logger,
     ICustomerApiClient customerApiClient
     ) => (this.logger, this.customerApiClient) = (logger, customerApiClient);
Exemple #4
0
 public CustomerController(ICustomerApiClient customerApiClient)
 {
     _customerApiClient = customerApiClient;
 }
Exemple #5
0
 public ApiClient(ICustomerApiClient customer, IProductApiClient product, ISubscriptionApiClient subscription)
 {
     Customer     = customer;
     Product      = product;
     Subscription = subscription;
 }