public CustomerRepository(ICustomerDataStore customerDataStore) { _customerDataStore = customerDataStore; }
public CustomerController(ICustomerDataStore dataStore) { this.dataStore = dataStore ?? throw new ArgumentNullException(nameof(dataStore)); }