コード例 #1
0
ファイル: NewsController.cs プロジェクト: huuphuu/pendesignvn
 public NewsController(INewsService newsService, INewsMappingService newsMappingService, UserFactory userFactory)
 {
     this._newsService = newsService;
     this._newsMappingService = newsMappingService;
     this._userFactory = userFactory;
     this._userId = _userFactory.GetUserId(User.Identity.Name);
 }
コード例 #2
0
ファイル: NewsController.cs プロジェクト: war-man/pendesignvn
 public NewsController(INewsService newsService, INewsMappingService newsMappingService, UserFactory userFactory)
 {
     this._newsService        = newsService;
     this._newsMappingService = newsMappingService;
     this._userFactory        = userFactory;
     this._userId             = _userFactory.GetUserId(User.Identity.Name);
 }
コード例 #3
0
        public ProjectController(IProjectService projectService, IProjectMappingService projectMappingService,
                                 IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
                                 INewsService newsService, INewsMappingService newsMappingService, UserFactory userFactory)
        {
            this._projectService        = projectService;
            this._projectMappingService = projectMappingService;

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

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

            this._userFactory = userFactory;
            this._userId      = _userFactory.GetUserId(User.Identity.Name);
        }
コード例 #4
0
        public ProjectController(IProjectService projectService, IProjectMappingService projectMappingService,
            IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
            INewsService newsService, INewsMappingService newsMappingService, UserFactory userFactory)
        {
            this._projectService = projectService;
            this._projectMappingService = projectMappingService;

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

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

            this._userFactory = userFactory;
            this._userId = _userFactory.GetUserId(User.Identity.Name);
        }
コード例 #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"));
        }
コード例 #6
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"));
        }