public ProjectImageController(IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService, UserFactory userFactory)
        {
            this._projectImageService = projectImageService;
            this._projectImageMappingService = projectImageMappingService;

            this._userFactory = userFactory;
            this._userId = _userFactory.GetUserId(User.Identity.Name);
        }
        public ProjectImageController(IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService, UserFactory userFactory)
        {
            this._projectImageService        = projectImageService;
            this._projectImageMappingService = projectImageMappingService;

            this._userFactory = userFactory;
            this._userId      = _userFactory.GetUserId(User.Identity.Name);
        }
 public ProjectImageController(ILogger <ProjectImageController> log, IProjectImageService pis, IConfiguration config, IWebHostEnvironment webHostEnvironment, IProjectService ps, IRoleProjectService rps)
 {
     this._log                = log;
     this._pis                = pis;
     this._config             = config;
     this._webHostEnvironment = webHostEnvironment;
     this._ps  = ps;
     this._rps = rps;
 }
        public ConstructionController(IProjectService projectService, IProjectMappingService projectMappingService, UserFactory userFactory,
                                      IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
                                      INewsService newsService, INewsMappingService newsMappingService)
        {
            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);
        }
        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;
        }
Exemple #6
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;
        }
        public ConstructionController(IProjectService projectService, IProjectMappingService projectMappingService, UserFactory userFactory,
            IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
            INewsService newsService, INewsMappingService newsMappingService)
        {
            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);
        }
Exemple #8
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"));
        }