public BannerMappingController(IBannerMappingService bannerMappingService, UserFactory userFactory)
        {
            this._bannerMappingService = bannerMappingService;

            this._userFactory = userFactory;
            this._userId = _userFactory.GetUserId(User.Identity.Name);
        }
        public BannerMappingController(IBannerMappingService bannerMappingService, UserFactory userFactory)
        {
            this._bannerMappingService = bannerMappingService;

            this._userFactory = userFactory;
            this._userId      = _userFactory.GetUserId(User.Identity.Name);
        }
Exemplo n.º 3
0
        public HomeController(IConfigService configService, IBannerService bannerService,
                              IBannerMappingService bannerMappingService, IGroupControlService groupControlService, IControlService controlService,
                              IProjectService projectService, INewsService newsService, INewsCategoryService newsCategoryService,
                              IOtherPageSEOService otherPageSeoService)
        {
            this._configService        = configService;
            this._bannerService        = bannerService;
            this._bannerMappingService = bannerMappingService;
            this._groupControlService  = groupControlService;
            this._controlService       = controlService;
            this.configModel           = _configService.GetAll().SingleOrDefault();
            this._projectService       = projectService.GetAll();
            this._newsService          = newsService;
            this._newsCategoryService  = newsCategoryService;
            this._otherPageSeoService  = otherPageSeoService;

            this.LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129"));
        }
Exemplo n.º 4
0
        public HomeController(IConfigService configService, IBannerService bannerService,
            IBannerMappingService bannerMappingService, IGroupControlService groupControlService, IControlService controlService,
            IProjectService projectService, INewsService newsService, INewsCategoryService newsCategoryService,
            IOtherPageSEOService otherPageSeoService)
        {
            this._configService = configService;
            this._bannerService = bannerService;
            this._bannerMappingService = bannerMappingService;
            this._groupControlService = groupControlService;
            this._controlService = controlService;
            this.configModel = _configService.GetAll().SingleOrDefault();
            this._projectService = projectService.GetAll();
            this._newsService = newsService;
            this._newsCategoryService = newsCategoryService;
            this._otherPageSeoService = otherPageSeoService;

            this.LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129"));
        }
Exemplo n.º 5
0
 public HomeController(IConfigService configService, IBannerService bannerService, IBannerMappingService bannerMappingService)
 {
     this._configService        = configService;
     this._bannerService        = bannerService;
     this._bannerMappingService = bannerMappingService;
 }
 public HomeController(IConfigService configService, IBannerService bannerService, IBannerMappingService bannerMappingService)
 {
     this._configService = configService;
     this._bannerService = bannerService;
     this._bannerMappingService = bannerMappingService;
 }