public NewsViewComponent( INewsWebService newsWebService, IWorkContext workContext, IStoreContext storeContext, IWebHelper webHelper, NewsSettings newsSettings) { this._newsWebService = newsWebService; this._workContext = workContext; this._storeContext = storeContext; this._webHelper = webHelper; this._newsSettings = newsSettings; }
public NewsController(INewsWebService newsWebService, INewsService newsService, IWorkContext workContext, IStoreContext storeContext, ILocalizationService localizationService, IWebHelper webHelper, ICustomerActivityService customerActivityService, IStoreMappingService storeMappingService, IPermissionService permissionService, NewsSettings newsSettings, CaptchaSettings captchaSettings) { this._newsWebService = newsWebService; this._newsService = newsService; this._workContext = workContext; this._storeContext = storeContext; this._localizationService = localizationService; this._webHelper = webHelper; this._customerActivityService = customerActivityService; this._storeMappingService = storeMappingService; this._permissionService = permissionService; this._newsSettings = newsSettings; this._captchaSettings = captchaSettings; }
public HomePageNewsViewComponent(INewsWebService newsWebService, NewsSettings newsSettings) { this._newsWebService = newsWebService; this._newsSettings = newsSettings; }