Ejemplo n.º 1
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,
     ISettingService settingService,
     DateTimeSettings dateTimeSettings)
 {
     this._workContext = workContext;
     this._settingService = settingService;
     this._dateTimeSettings = dateTimeSettings;
 }
Ejemplo n.º 2
0
        public AccountController(
           IWorkContext workContext,
           ICompanyContext companyContext,
           IWebHelper webHelper,
           
           IAuthenticationService authenticationService,
           IUserRegistrationService userRegistrationService,
           ILocalizationService localizationService,
           IDateTimeHelper dateTimeHelper,

           IUserService userService,
           IUserActivityService userActivityService,

           IBusinessPartnerService bpService,

           UserSettings userSettings,
           LocalizationSettings localizationSettings,
           CaptchaSettings captchaSettings,
           DateTimeSettings dateTimeSettings)
        {
            this._workContext = workContext;
            this._companyContext = companyContext;
            this._webHelper = webHelper;

            this._authenticationService = authenticationService;
            this._userRegistrationService = userRegistrationService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;

            this._userService = userService;
            this._userActivityService = userActivityService;
            this._bpService = bpService;

            this._userSettings = userSettings;
            this._dateTimeSettings = dateTimeSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings = captchaSettings;
        }