public AccountManager(IConnectServiceProvider connectServiceProvider, ILogService <CommonLog> logService) : base(logService) { Assert.ArgumentNotNull(connectServiceProvider, nameof(connectServiceProvider)); this.customerServiceProvider = connectServiceProvider.GetCustomerServiceProvider(); }
public RegisterCommerceCustomer(ICartManager cartManager, IConnectServiceProvider connectServiceProvider, IStorefrontContext storefrontContext, IVisitorContext visitorContext) { _cartManager = cartManager; _storefrontContext = storefrontContext; _customerServiceProvider = connectServiceProvider.GetCustomerServiceProvider(); _visitorContext = visitorContext; }
public AccountManager(IConnectServiceProvider connectServiceProvider, ICartManager cartManager) { Assert.ArgumentNotNull(connectServiceProvider, nameof(connectServiceProvider)); Assert.ArgumentNotNull(cartManager, nameof(cartManager)); this.customerServiceProvider = connectServiceProvider.GetCustomerServiceProvider(); this.cartManager = cartManager; }
public CustomersController(ILoginRepository loginRepository, IRegistrationRepository registrationRepository, IForgotPasswordRepository forgotPasswordRepository, IChangePasswordRepository changePasswordRepository, IAccountManager accountManager, IStorefrontContext storefrontContext, IModelProvider modelProvider, IContext sitecoreContext, IRegisterUserRepository registerUserRepository, ILoginUserRepository loginUserRepository, IConnectServiceProvider connectServiceProvider) : base(loginRepository, registrationRepository, forgotPasswordRepository, changePasswordRepository, accountManager, storefrontContext, modelProvider, sitecoreContext, registerUserRepository, loginUserRepository) { _customerServiceProvider = connectServiceProvider.GetCustomerServiceProvider(); }