public BannerMappingController(IBannerMappingService bannerMappingService, UserFactory userFactory) { this._bannerMappingService = bannerMappingService; this._userFactory = userFactory; this._userId = _userFactory.GetUserId(User.Identity.Name); }
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")); }
public HomeController(IConfigService configService, IBannerService bannerService, IBannerMappingService bannerMappingService) { this._configService = configService; this._bannerService = bannerService; this._bannerMappingService = bannerMappingService; }