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);
public CustomerController(ICustomerApiClient customerApiClient) { _customerApiClient = customerApiClient; }
public ApiClient(ICustomerApiClient customer, IProductApiClient product, ISubscriptionApiClient subscription) { Customer = customer; Product = product; Subscription = subscription; }