public CustomerInfoProviderFunctions(ICustomersContext customersContext) { if (customersContext == default(ICustomersContext)) { throw new ArgumentNullException(nameof(customersContext)); } this.customersContext = customersContext; }
public CustomersRepository(ICustomersContext customersContext) { if (customersContext == default(ICustomersContext)) { throw new ArgumentException(INVALID_CUSTOMERS_CONTEXT); } this.customersContext = customersContext; }
public CustomerService(ICustomersContext customersContext) { if (customersContext == default(ICustomersContext)) { throw new ArgumentException(); } this.customersContext = customersContext; }
public AddressRepository(ICustomersContext context) { _context = context; }
public CustomersService(ICustomersContext context) { _context = context; _customerRepo = new CustomerRepository(context); _addrRepo = new AddressRepository(context); }
public CustomerRepository(ICustomersContext context) { _context = context; }
public CustomersRepository( ICustomersContext customersContext) { _customersContext = customersContext; }
public CustomerService(IMapper mapper, ICustomersContext customersContext) { _mapper = mapper; _customersContext = customersContext; }
public CustomerController(ICustomersContext context) { db = context; }