Exemplo n.º 1
0
 public NewsController(CaptchaSettings captchaSettings,
                       ICustomerActivityService customerActivityService,
                       ICustomerService customerService,
                       IEventPublisher eventPublisher,
                       ILocalizationService localizationService,
                       INewsModelFactory newsModelFactory,
                       INewsService newsService,
                       IPermissionService permissionService,
                       IStoreContext storeContext,
                       IStoreMappingService storeMappingService,
                       IUrlRecordService urlRecordService,
                       IWebHelper webHelper,
                       IWorkContext workContext,
                       IWorkflowMessageService workflowMessageService,
                       LocalizationSettings localizationSettings,
                       NewsSettings newsSettings)
 {
     _captchaSettings         = captchaSettings;
     _customerActivityService = customerActivityService;
     _customerService         = customerService;
     _eventPublisher          = eventPublisher;
     _localizationService     = localizationService;
     _newsModelFactory        = newsModelFactory;
     _newsService             = newsService;
     _permissionService       = permissionService;
     _storeContext            = storeContext;
     _storeMappingService     = storeMappingService;
     _urlRecordService        = urlRecordService;
     _webHelper              = webHelper;
     _workContext            = workContext;
     _workflowMessageService = workflowMessageService;
     _localizationSettings   = localizationSettings;
     _newsSettings           = newsSettings;
 }
Exemplo n.º 2
0
        public NewsController(INewsModelFactory newsModelFactory,
                              INewsService newsService,
                              IWorkContext workContext,
                              IStoreContext storeContext,
                              ILocalizationService localizationService,
                              IWorkflowMessageService workflowMessageService,
                              IWebHelper webHelper,
                              ICustomerActivityService customerActivityService,
                              IStoreMappingService storeMappingService,
                              IPermissionService permissionService,
                              IEventPublisher eventPublisher,
                              NewsSettings newsSettings,
                              LocalizationSettings localizationSettings,
                              CaptchaSettings captchaSettings)
        {
            this._newsModelFactory       = newsModelFactory;
            this._newsService            = newsService;
            this._workContext            = workContext;
            this._storeContext           = storeContext;
            this._localizationService    = localizationService;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._customerActivityService = customerActivityService;
            this._storeMappingService     = storeMappingService;
            this._permissionService       = permissionService;
            this._eventPublisher          = eventPublisher;

            this._newsSettings         = newsSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings      = captchaSettings;
        }
Exemplo n.º 3
0
 public NewsController(INewsModelFactory newsModelFactory, INewsService newsService, IUrlRecordService urlRecordService, INewsCounterService newsCounterService, ICustomerService customerService, UserManager <ApplicationUser> userManager, IPictureService pictureService)
 {
     _newsModelFactory   = newsModelFactory;
     _newsService        = newsService;
     _urlRecordService   = urlRecordService;
     _newsCounterService = newsCounterService;
     _customerService    = customerService;
     _userManager        = userManager;
     _pictureService     = pictureService;
 }
Exemplo n.º 4
0
 public CommonController(
     CommonSettings commonSettings,
     ICommonModelFactory commonModelFactory,
     ICustomerActivityService customerActivityService,
     ILogger logger, IEmailSender emailSender, IEmailAccountService emailAccountService, EmailAccountSettings emailAccountSettings, INewsService newsService, INewsModelFactory newsModelFactory, IPictureService pictureService, IGalleryFactory galleryFactory, IGalleryService galleryService)
 {
     this._commonSettings          = commonSettings;
     this._commonModelFactory      = commonModelFactory;
     this._customerActivityService = customerActivityService;
     this._logger          = logger;
     _emailSender          = emailSender;
     _emailAccountService  = emailAccountService;
     _emailAccountSettings = emailAccountSettings;
     _newsService          = newsService;
     _newsModelFactory     = newsModelFactory;
     _pictureService       = pictureService;
     _galleryFactory       = galleryFactory;
     _galleryService       = galleryService;
 }
Exemplo n.º 5
0
 public NewsController(ICustomerActivityService customerActivityService,
                       IEventPublisher eventPublisher,
                       ILocalizationService localizationService,
                       INewsModelFactory newsModelFactory,
                       INewsService newsService,
                       IPermissionService permissionService,
                       IStoreMappingService storeMappingService,
                       IStoreService storeService,
                       IUrlRecordService urlRecordService)
 {
     this._customerActivityService = customerActivityService;
     this._eventPublisher          = eventPublisher;
     this._localizationService     = localizationService;
     this._newsModelFactory        = newsModelFactory;
     this._newsService             = newsService;
     this._permissionService       = permissionService;
     this._storeMappingService     = storeMappingService;
     this._storeService            = storeService;
     this._urlRecordService        = urlRecordService;
 }
Exemplo n.º 6
0
 public NewsController(ICustomerActivityService customerActivityService,
                       INewsModelFactory newsModelFactory,
                       INewsService newsService,
                       IStoreService storeService,
                       IUrlRecordService urlRecordService,
                       IAuthorizationService authorizationService,
                       UserManager <ApplicationUser> userManager,
                       ICustomerService customerService, IRepository <NewsPictureMapping> newsPictuRepository, IPictureService pictureService, ICategoryService categoryService)
 {
     this._customerActivityService = customerActivityService;
     this._newsModelFactory        = newsModelFactory;
     this._newsService             = newsService;
     this._storeService            = storeService;
     this._urlRecordService        = urlRecordService;
     _authorizationService         = authorizationService;
     _userManager         = userManager;
     _customerService     = customerService;
     _newsPictuRepository = newsPictuRepository;
     _pictureService      = pictureService;
     _categoryService     = categoryService;
 }
Exemplo n.º 7
0
 public CatalogModelFactory(
     CatalogSettings catalogSettings,
     ICategoryService categoryService,
     ICategoryTemplateService categoryTemplateService,
     IStoreContext storeContext,
     IUrlRecordService urlRecordService,
     IWebHelper webHelper,
     INewsService newsService, INewsModelFactory newsModelFactory, IVideoFactory videoFactory, IGalleryFactory galleryFactory, ISliderFactory sliderFactory, IPictureService pictureService, IHttpContextAccessor httpContextAccessor)
 {
     this._catalogSettings         = catalogSettings;
     this._categoryService         = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._storeContext            = storeContext;
     this._urlRecordService        = urlRecordService;
     this._webHelper      = webHelper;
     _newsService         = newsService;
     _newsModelFactory    = newsModelFactory;
     _videoFactory        = videoFactory;
     _galleryFactory      = galleryFactory;
     _sliderFactory       = sliderFactory;
     _pictureService      = pictureService;
     _httpContextAccessor = httpContextAccessor;
 }
Exemplo n.º 8
0
 public HomepageNewsViewComponent(INewsModelFactory newsModelFactory, NewsSettings newsSettings)
 {
     this._newsModelFactory = newsModelFactory;
     this._newsSettings     = newsSettings;
 }
Exemplo n.º 9
0
 public RigthTwoSliderViewComponent(
     INewsService newsService, INewsModelFactory newsModelFactory)
 {
     _newsService      = newsService;
     _newsModelFactory = newsModelFactory;
 }
Exemplo n.º 10
0
 public SumiHomepageNewsViewComponent(INewsModelFactory newsModelFactory, NewsSettings newsSettings)
 {
     _newsModelFactory = newsModelFactory;
     _newsSettings     = newsSettings;
 }