Пример #1
0
        public GenelModelFactory(IKategoriServisi categoryService,
                                 ISayfalarServisi topicService,
                                 ILanguageService languageService,
                                 ILocalizationService localizationService,
                                 IWorkContext workContext,
                                 ISiteContext storeContext,
                                 ITemaContext themeContext,
                                 ITemaSağlayıcı themeProvider,
                                 IForumServisi forumservice,
                                 IGenelÖznitelikServisi genericAttributeService,
                                 IWebYardımcısı webHelper,
                                 IİzinServisi permissionService,
                                 IStatikÖnbellekYönetici cacheManager,
                                 ISayfaHeadOluşturucu pageHeadBuilder,
                                 IResimServisi pictureService,
                                 IHostingEnvironment hostingEnvironment,

                                 KatalogAyarları catalogSettings,
                                 SiteBilgiAyarları storeInformationSettings,
                                 GenelAyarlar commonSettings,
                                 BlogAyarları blogSettings,
                                 ForumAyarları forumSettings,
                                 LocalizationSettings localizationSettings)
        {
            this._categoryService         = categoryService;
            this._topicService            = topicService;
            this._languageService         = languageService;
            this._localizationService     = localizationService;
            this._workContext             = workContext;
            this._storeContext            = storeContext;
            this._themeContext            = themeContext;
            this._themeProvider           = themeProvider;
            this._genericAttributeService = genericAttributeService;
            this._webHelper                = webHelper;
            this._permissionService        = permissionService;
            this._cacheManager             = cacheManager;
            this._pageHeadBuilder          = pageHeadBuilder;
            this._pictureService           = pictureService;
            this._hostingEnvironment       = hostingEnvironment;
            this._catalogSettings          = catalogSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._commonSettings           = commonSettings;
            this._blogSettings             = blogSettings;
            this._forumSettings            = forumSettings;
            this._localizationSettings     = localizationSettings;
        }
Пример #2
0
 public static BlogAyarları ToEntity(this BlogAyarlarModel model, BlogAyarları destination)
 {
     return(model.MapTo(destination));
 }
Пример #3
0
 public static BlogAyarlarModel ToModel(this BlogAyarları entity)
 {
     return(entity.MapTo <BlogAyarları, BlogAyarlarModel>());
 }