Exemplo n.º 1
0
        public ProjectController(IProjectService projectService, IProjectMappingService projectMappingService,
            IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
            IOtherPageSEOService otherPageSeoService)
        {
            this._projectService = projectService;
            this._projectMappingService = projectMappingService;

            this._projectImageService = projectImageService;
            this._projectImageMappingService = projectImageMappingService;

            this._otherPageSeoService = otherPageSeoService;

            this.LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129"));

            ItemPerPage = AppSettings.ItemsPerPage;
        }
Exemplo n.º 2
0
        public VideoController(IProjectService projectService, IProjectMappingService projectMappingService,
                               IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
                               IOtherPageSEOService otherPageSeoService)
        {
            this._projectService        = projectService;
            this._projectMappingService = projectMappingService;

            this._projectImageService        = projectImageService;
            this._projectImageMappingService = projectImageMappingService;

            this._otherPageSeoService = otherPageSeoService;

            this.LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129"));

            ItemPerPage = AppSettings.ItemsPerPage;
        }
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 ConstructionController(IProjectService projectService, IProjectMappingService projectMappingService,
                                      IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
                                      INewsService newsService, INewsMappingService newsMappingService,
                                      IOtherPageSEOService otherPageSeoService)
        {
            this._projectService        = projectService;
            this._projectMappingService = projectMappingService;

            this._projectImageService        = projectImageService;
            this._projectImageMappingService = projectImageMappingService;

            this._newsService        = newsService;
            this._newsMappingService = newsMappingService;

            this._otherPageSeoService = otherPageSeoService;

            ItemPerPage = AppSettings.ItemsPerPage;

            LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129"));
        }