Esempio n. 1
0
 public CustomerController(IAuthenticationService authenticationService,
     ILocalizationService localizationService,
      IWorkContext workContext,
      ICustomerService customerService,
      ICustomerRegistrationService customerRegistrationService,
     CustomerSettings customerSettings,
      IAddressService addressService,
      IWebHelper webHelper,
      LocalizationSettings localizationSettings, 
     CaptchaSettings captchaSettings,
     SecuritySettings securitySettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     ICustomerActivityService customerActivityService,
     DateTimeSettings dateTimeSettings,
     IDateTimeHelper dateTimeHelper,
     IGenericAttributeService genericAttributeService,
     IPermissionService permissionService)
 {
     this._authenticationService = authenticationService;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._customerRegistrationService = customerRegistrationService;
     this._customerService = customerService;
     this._customerSettings = customerSettings;
     this._addressService = addressService;
     this._webHelper = webHelper;
     this._localizationSettings = localizationSettings;
     this._captchaSettings = captchaSettings;
     this._securitySettings = securitySettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._customerActivityService = customerActivityService;
     this._dateTimeSettings = dateTimeSettings;
     this._dateTimeHelper = dateTimeHelper;
     this._genericAttributeService = genericAttributeService;
 }
Esempio n. 2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="workContext">Work context</param>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="settingService">Setting service</param>
 /// <param name="dateTimeSettings">Datetime settings</param>
 public DateTimeHelper(IWorkContext workContext,
     IGenericAttributeService genericAttributeService,
     ISettingService settingService,
     DateTimeSettings dateTimeSettings)
 {
     this._workContext = workContext;
     this._genericAttributeService = genericAttributeService;
     this._settingService = settingService;
     this._dateTimeSettings = dateTimeSettings;
 }
 public CustomerAdminController(IPermissionService permissionService, 
     ICustomerService customerService,
     CustomerSettings customerSettings,
     ILocalizationService localizationService,
     IDateTimeHelper dateTimeHelper,
     DateTimeSettings dateTimeSettings,
     IOpenAuthenticationService openAuthenticationService,
     IGenericAttributeService genericAttributeService,
     ICustomerActivityService customerActivityService,
     ICustomerRegistrationService customerRegistrationService,
     IWorkContext workContext)
 {
     this._permissionService = permissionService;
     this._customerService = customerService;
     this._customerSettings = customerSettings;
     this._localizationService = localizationService;
     this._dateTimeHelper = dateTimeHelper;
     this._dateTimeSettings = dateTimeSettings;
     this._openAuthenticationService = openAuthenticationService;
     this._genericAttributeService = genericAttributeService;
     this._customerActivityService = customerActivityService;
     this._customerRegistrationService = customerRegistrationService;
     this._workContext = workContext;
 }