public HomeController(DbContext context, ICustomerIdentityFactory customerIdentityFactory) { _context = context; _customerIdentityFactory = customerIdentityFactory; }
public BasketWidget(ICustomerIdentityFactory customerIdentityFactory, DbContext dbContext, IConfigurationProvider configurationProvider) { _customerIdentityFactory = customerIdentityFactory; _dbContext = dbContext; _configurationProvider = configurationProvider; }