public ValidateCaptchaFilter(string actionParameterName, CaptchaHttpClient captchaHttpClient, CaptchaSettings captchaSettings, ILogger logger, IWorkContext workContext) { _actionParameterName = actionParameterName; _captchaHttpClient = captchaHttpClient; _captchaSettings = captchaSettings; _logger = logger; _workContext = workContext; }
public AbcContactUsController( IWorkContext workContext, IRepository <Shop> shopRepository, IRepository <ShopAbc> shopAbcRepository, EmailAccountSettings emailAccountSettings, IEmailAccountService emailAccountService, IEmailSender emailSender, ContactUsWidgetSettings contactUsWidgetSettings, CaptchaSettings captchaSettings, ContactUsWidgetSettings settings, ICustomerService customerService, IHttpContextAccessor httpContextAccessor, CaptchaHttpClient captchaHttpClient, ILogger logger, INotificationService notificationService, ILocalizationService localizationService, ISettingService settingService ) { _workContext = workContext; _shopRepository = shopRepository; _shopAbcRepository = shopAbcRepository; _emailAccountSettings = emailAccountSettings; _emailAccountService = emailAccountService; _emailSender = emailSender; _contactUsWidgetSettings = contactUsWidgetSettings; _captchaSettings = captchaSettings; _settings = settings; _customerService = customerService; _httpContextAccessor = httpContextAccessor; _captchaHttpClient = captchaHttpClient; _logger = logger; _notificationService = notificationService; _localizationService = localizationService; _settingService = settingService; }