public NewsController(INewsService NewsService, INewsCategoryService NewsCategoryService) { _NewsService = NewsService; _NewsCategoryService = NewsCategoryService; AddPageCrumbs("新闻", "/News"); }
public PersonalBlogController(INewsItemService newsItemService, IPrincipalResolver principalResolver, IBlogService blogService, INewsCategoryService newsCategoryService) { _newsItemService = newsItemService; _principalResolver = principalResolver; _blogService = blogService; _newsCategoryService = newsCategoryService; }
public HomeController(IProductCategoryService productCategoryService, IProductService productService, IContactService contactService, IBrandService brandService, INewsCategoryService newsCategoryService) { this.productCategoryService = productCategoryService; this.productService = productService; this.contactService = contactService; this.brandService = brandService; this.newsCategoryService = newsCategoryService; }
public NewsItemService(ISearchService searchService, INewsCategoryService categoryService, IBlogService blogService, IHeartService heartService) { _searchService = searchService; _categoryService = categoryService; _blogService = blogService; _heartService = heartService; InitCache("TagMemoryCache"); CacheExpirationInMinutes = 30; }
public NewsController(INewsCategoryService newsCategoryService, INewsService newsService ) { this._newsCategoryService = newsCategoryService; this._newsService = newsService; this.LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129")); ItemPerPage = AppSettings.ItemsPerPage; }
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 NewsCategoryApiController(IRepository <NewsCategory> categoryRepository, INewsCategoryService categoryService) { _categoryRepository = categoryRepository; _categoryService = categoryService; }
public NewsController(INewsCategoryService newsCategoryService, INewsService newsService) { _newsCategoryService = newsCategoryService; _newsService = newsService; }
public NewsCategoryController(ILogErrorService logErrorService, INewsCategoryService newsCategoryService) : base(logErrorService) { this.logErrorService = logErrorService; this.newsCategoryService = newsCategoryService; }
public NewsCategoryController(INewsCategoryService NewsCategoryService) { _newsCategoryService = NewsCategoryService; }
public HotNewsService(DatabaseContext context, INewsCategoryService newsCategoryService) : base(context) { _newsCategoryService = newsCategoryService; }
public NewsService(IUnitOfWork unitOfWork, INewsCategoryService newsCategoryService) { _unitOfWork = unitOfWork; _newsCategoryService = newsCategoryService; }
public NewsController(INewsItemService newsItemService, INewsCategoryService newsCategoryService, IBlogService blogService) { _newsItemService = newsItemService; _newsCategoryService = newsCategoryService; _blogService = blogService; }
public NewsCategoryApiController(INewsCategoryService categoryService, ILogService logService) { _categoryService = categoryService; _logService = logService; }
public NewsCategoryManageModel() { _categoryService = HostContainer.GetInstance <INewsCategoryService>(); PossibleParents = _categoryService.GetPossibleParents(); }
public NewsInfoController(INewsInfoService NewsInfoService, IImageInfoService imageInfoService, INewsCategoryService newsCategoryService) { _newsInfoService = NewsInfoService; _newsCategoryService = newsCategoryService; _imageInfoService = imageInfoService; }
public NewsCategoriesController(IUsersService users, INewsCategoryService newsCategries) : base(users) { this.newsCategries = newsCategries; }
public NewsService(DatabaseContext context, INewsCategoryService newsCategoryService, ICategoryService categoryService, INewsSeenService newsSeenService) : base(context) { _newsCategoryService = newsCategoryService; _categoryService = categoryService; _newsSeenService = newsSeenService; }
public NewsCategoryDetailsResolver() { _newsCategoryService = HostContainer.GetInstance <INewsCategoryService>(); _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>(); }
public NewsController(INewsService newsService, INewsCategoryService newsCategoryService) { this.newsCategoryService = newsCategoryService; this.newsService = newsService; }
public ActionResult GetNewsCates([FromServices] INewsCategoryService newsCategoryService, string currentId, string parentId) { //var newsCateServices = CoreContextProvider.GetService<INewsCategoryService>(); return(Content(newsCategoryService.GetCateList(currentId, parentId).ToJson())); }
public CategoryAdminController(INewsCategoryService service) { _service = service; }