Beispiel #1
0
        public PostController(
            IPostService postService
            , IMenuLinkService menuLinkService
            , IAttributeValueService attributeValueService
            , IGalleryService galleryService
            , IImagePlugin imagePlugin
            , IAttributeService attributeService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , IPostGalleryService postGalleryService
            , IGenericControlService genericControlService
            , ICacheManager cacheManager)
            : base(cacheManager)
        {
            this._postService              = postService;
            this._menuLinkService          = menuLinkService;
            this._attributeValueService    = attributeValueService;
            this._galleryService           = galleryService;
            this._imagePlugin              = imagePlugin;
            this._attributeService         = attributeService;
            this._languageService          = languageService;
            this._localizedPropertyService = localizedPropertyService;
            this._postGalleryService       = postGalleryService;
            _genericControlService         = genericControlService;
            _cacheManager = cacheManager;

            //Clear cache
            _cacheManager.Clear();
        }
        public PostController(
            IPostService postService
            , IMenuLinkService menuLinkService
            , IAttributeValueService attributeValueService
            , IGalleryService galleryService
            , IImagePlugin imagePlugin
            , IAttributeService attributeService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , IPostGalleryService postGalleryService
            , IGenericControlService genericControlService
            , ICacheManager cacheManager
            , IManufacturerService manufacturerService)
            : base(cacheManager)
        {
            _postService              = postService;
            _menuLinkService          = menuLinkService;
            _attributeValueService    = attributeValueService;
            _galleryService           = galleryService;
            _imagePlugin              = imagePlugin;
            _attributeService         = attributeService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;
            _postGalleryService       = postGalleryService;
            _cacheManager             = cacheManager;
            _manufacturerService      = manufacturerService;

            //Clear cache
            _cacheManager.RemoveByPattern(CachePostKey);
        }
Beispiel #3
0
 public OrderController(IOrderService orderService, IMenuLinkService menuLinkService, IAttributeValueService attributeValueService, IOrderGalleryService galleryService, IImagePlugin imagePlugin, IBrandService brandService, IOrderItemService orderItemService)
 {
     this._orderService     = orderService;
     this._menuLinkService  = menuLinkService;
     this._galleryService   = galleryService;
     this._imagePlugin      = imagePlugin;
     this._brandService     = brandService;
     this._orderItemService = orderItemService;
 }
Beispiel #4
0
 public HomeController(ISystemSettingService systemSettingService, IProvinceService province, IMailSettingService mailSettingService, IBrandService brandService, IImagePlugin imagePlugin, IOrderService orderService)
 {
     this._systemSettingService = systemSettingService;
     this._province             = province;
     this._mailSettingService   = mailSettingService;
     this._brandService         = brandService;
     this._imagePlugin          = imagePlugin;
     this._orderService         = orderService;
 }
 public AccountController(UserManager <IdentityUser, Guid> userManager, IPostService postService, IGalleryService galleryService, IProvinceService provinceService, IMenuLinkService menuLinkService, IDistrictService districtService, IImagePlugin imagePlugin) : base(userManager)
 {
     this._postService     = postService;
     this._galleryService  = galleryService;
     this._provinceService = provinceService;
     this._menuLinkService = menuLinkService;
     this._districtService = districtService;
     this._imagePlugin     = imagePlugin;
 }
Beispiel #6
0
        public FlowStepController(IFlowStepService flowStepService, IImagePlugin imagePlugin
                                  , ICacheManager cacheManager)
        {
            this._flowStepService = flowStepService;
            this._imagePlugin     = imagePlugin;
            _cacheManager         = cacheManager;

            //Clear cache
            _cacheManager.RemoveByPattern(CACHE_FLOWSTEP_KEY);
        }
        public ManufacturerController(IManufacturerService manufacturerService, IImagePlugin imagePlugin
                                      , ICacheManager cacheManager)
        {
            _manufacturerService = manufacturerService;
            _imagePlugin         = imagePlugin;
            _cacheManager        = cacheManager;

            //Clear cache
            _cacheManager.RemoveByPattern(CacheFlowstepKey);
        }
Beispiel #8
0
 public RepairController(IRepairService repairService, IMenuLinkService menuLinkService,
                         IAttributeValueService attributeValueService, IRepairGalleryService galleryService
                         , IImagePlugin imagePlugin, IBrandService brandService, IRepairItemService repairItemService
                         , ICacheManager cacheManager)
     : base(cacheManager)
 {
     _repairService     = repairService;
     _galleryService    = galleryService;
     _imagePlugin       = imagePlugin;
     _brandService      = brandService;
     _repairItemService = repairItemService;
 }
Beispiel #9
0
 public NewsController(
     INewsService newsService
     , IMenuLinkService menuLinkService
     , IImagePlugin imagePlugin
     , ILanguageService languageService
     , ILocalizedPropertyService localizedPropertyService)
 {
     this._newsService              = newsService;
     this._menuLinkService          = menuLinkService;
     this._imagePlugin              = imagePlugin;
     this._languageService          = languageService;
     this._localizedPropertyService = localizedPropertyService;
 }
Beispiel #10
0
        public MenuController(IMenuLinkService menuLinkService, ILocalizedPropertyService localizedPropertyService
                              , ILanguageService languageService
                              , ICacheManager cacheManager, IImagePlugin imagePlugin)
        {
            _menuLinkService          = menuLinkService;
            _localizedPropertyService = localizedPropertyService;
            _languageService          = languageService;
            _cacheManager             = cacheManager;
            _imagePlugin = imagePlugin;

            //Clear cache
            _cacheManager.RemoveByPattern(CacheMenuKey);
        }
        public BannerController(IBannerService bannerService
                                , IMenuLinkService menuLinkService
                                , IPageBannerService pageBannerService
                                , ICacheManager cacheManager, IImagePlugin imagePlugin)
        {
            _bannerService     = bannerService;
            _menuLinkService   = menuLinkService;
            _pageBannerService = pageBannerService;
            _cacheManager      = cacheManager;
            _imagePlugin       = imagePlugin;

            //Clear cache
            _cacheManager.RemoveByPattern(CacheBannerKey);
        }
Beispiel #12
0
        public PaymentMethodController(IPaymentMethodService paymentMethodService, IImagePlugin imagePlugin
                                       , ICacheManager cacheManager
                                       , ILocalizedPropertyService localizedPropertyService
                                       , ILanguageService languageService)
        {
            _paymentMethodService     = paymentMethodService;
            _imagePlugin              = imagePlugin;
            _cacheManager             = cacheManager;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;

            //Clear cache
            _cacheManager.RemoveByPattern(CachePaymentMethod);
        }
Beispiel #13
0
        public SlideShowController(
            ISlideShowService slideShowService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , ICacheManager cacheManager, IImagePlugin imagePlugin)
        {
            _slideShowService         = slideShowService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;
            _cacheManager             = cacheManager;
            _imagePlugin = imagePlugin;

            //Clear cache
            _cacheManager.RemoveByPattern(CacheSlideshowKey);
        }
Beispiel #14
0
 public AccountController(UserManager <IdentityUser, Guid> userManager
                          , IPostService postService, IGalleryService galleryService, IProvinceService provinceService
                          , IMenuLinkService menuLinkService
                          , IDistrictService districtService, IImagePlugin imagePlugin
                          , IOrderService orderService
                          , IIdentityMessageService emailService
                          , IWorkContext workContext) : base(userManager, emailService)
 {
     _postService     = postService;
     _galleryService  = galleryService;
     _menuLinkService = menuLinkService;
     _districtService = districtService;
     _imagePlugin     = imagePlugin;
     _orderService    = orderService;
     _workContext     = workContext;
 }
        public StaticContentController(
            IStaticContentService staticContentService
            , IMenuLinkService menuLinkService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , ICacheManager cacheManager, IImagePlugin imagePlugin)
        {
            _staticContentService     = staticContentService;
            _menuLinkService          = menuLinkService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;
            _cacheManager             = cacheManager;
            _imagePlugin = imagePlugin;

            //Clear cache
            _cacheManager.RemoveByPattern(CacheStaticcontentKey);
        }
Beispiel #16
0
        public NewsController(
            INewsService newsService
            , IMenuLinkService menuLinkService
            , IImagePlugin imagePlugin
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , ICacheManager cacheManager)
        {
            this._newsService              = newsService;
            this._menuLinkService          = menuLinkService;
            this._imagePlugin              = imagePlugin;
            this._languageService          = languageService;
            this._localizedPropertyService = localizedPropertyService;
            _cacheManager = cacheManager;

            //Clear cache
            _cacheManager.RemoveByPattern(CACHE_NEWS_KEY);
        }
Beispiel #17
0
        public NewsController(
            INewsService newsService
            , IMenuLinkService menuLinkService
            , IImagePlugin imagePlugin
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , ICacheManager cacheManager)
        {
            _newsService              = newsService;
            _menuLinkService          = menuLinkService;
            _imagePlugin              = imagePlugin;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;
            _cacheManager             = cacheManager;

            //Clear cache
            _cacheManager.RemoveByPattern(CacheNewsKey);
        }
Beispiel #18
0
 public PostController(
     IPostService postService
     , IMenuLinkService menuLinkService
     , IAttributeValueService attributeValueService
     , IGalleryService galleryService
     , IImagePlugin imagePlugin
     , IAttributeService attributeService
     , ILanguageService languageService
     , ILocalizedPropertyService localizedPropertyService)
 {
     this._postService              = postService;
     this._menuLinkService          = menuLinkService;
     this._attributeValueService    = attributeValueService;
     this._galleryService           = galleryService;
     this._imagePlugin              = imagePlugin;
     this._attributeService         = attributeService;
     this._languageService          = languageService;
     this._localizedPropertyService = localizedPropertyService;
 }
 public UtilityController(IImagePlugin imagePlugin)
 {
     _imagePlugin = imagePlugin;
 }
Beispiel #20
0
 public FlowStepController(IFlowStepService flowStepService, IImagePlugin imagePlugin)
 {
     this._flowStepService = flowStepService;
     this._imagePlugin     = imagePlugin;
 }