public AccountController( IAccountService accountService, SiteContext currentSite, IpAddressTracker ipAddressTracker, ISiteMessageEmailSender emailSender, SiteTimeZoneService timeZoneHelper, IIdentityServerIntegration identityServerIntegration, IStringLocalizer <CloudscribeCore> localizer, IRecaptchaKeysProvider recaptchaKeysProvider, IRecaptchaServerSideValidator recaptchaServerSideValidator, IHandleCustomRegistration customRegistration, IHandleAccountAnalytics analyticsHandler, ILogger <AccountController> logger ) { AccountService = accountService; CurrentSite = currentSite; IdentityServerIntegration = identityServerIntegration; EmailSender = emailSender; IpAddressTracker = ipAddressTracker; StringLocalizer = localizer; Log = logger; RecaptchaKeysProvider = recaptchaKeysProvider; RecaptchaServerSideValidator = recaptchaServerSideValidator; TimeZoneHelper = timeZoneHelper; CustomRegistration = customRegistration; Analytics = analyticsHandler; }
public AccountController( IAccountService accountService, SiteContext currentSite, IpAddressTracker ipAddressTracker, ISiteMessageEmailSender emailSender, SiteTimeZoneService timeZoneHelper, ISmsSender smsSender, IIdentityServerIntegration identityServerIntegration, IStringLocalizer <CloudscribeCore> localizer, IRecaptchaKeysProvider recaptchaKeysProvider, IHandleCustomRegistration customRegistration, IHandleAccountAnalytics analyticsHandler, ILogger <AccountController> logger ) { this.accountService = accountService; Site = currentSite; this.identityServerIntegration = identityServerIntegration; this.emailSender = emailSender; this.smsSender = smsSender; this.ipAddressTracker = ipAddressTracker; sr = localizer; log = logger; this.recaptchaKeysProvider = recaptchaKeysProvider; this.timeZoneHelper = timeZoneHelper; this.customRegistration = customRegistration; analytics = analyticsHandler; }