Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 public HomePageNewsViewComponent(INewsWebService newsWebService,
                                  NewsSettings newsSettings)
 {
     this._newsWebService = newsWebService;
     this._newsSettings   = newsSettings;
 }