Ejemplo n.º 1
0
        public BannerMappingController(IBannerMappingService bannerMappingService, UserFactory userFactory)
        {
            this._bannerMappingService = bannerMappingService;

            this._userFactory = userFactory;
            this._userId = _userFactory.GetUserId(User.Identity.Name);
        }
Ejemplo n.º 2
0
 public NewsController(INewsService newsService, INewsMappingService newsMappingService, UserFactory userFactory)
 {
     this._newsService = newsService;
     this._newsMappingService = newsMappingService;
     this._userFactory = userFactory;
     this._userId = _userFactory.GetUserId(User.Identity.Name);
 }
Ejemplo n.º 3
0
        public ProjectImageController(IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService, UserFactory userFactory)
        {
            this._projectImageService = projectImageService;
            this._projectImageMappingService = projectImageMappingService;

            this._userFactory = userFactory;
            this._userId = _userFactory.GetUserId(User.Identity.Name);
        }
Ejemplo n.º 4
0
        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);
        }