Example #1
0
 public InfoArticeController(IBaseApiManager BaseApiManager, IHttpContextAccessor Accessor, IArticeService ArticeService, ISearchKeywordService SearchKeywordService) : base(BaseApiManager)
 {
     this.BaseApiManager       = BaseApiManager;
     this.Accessor             = Accessor;
     this.ArticeService        = ArticeService;
     this.SearchKeywordService = SearchKeywordService;
 }
Example #2
0
 public HomeController(IOptions <SiteConfig> SiteConfig, IHostingEnvironment HostingEnvironment, IHttpContextAccessor Accessor, IConfigService ConfigService, IArticeService ArticeService)
 {
     this.SiteConfig         = SiteConfig.Value;
     this.Accessor           = Accessor;
     this.HostingEnvironment = HostingEnvironment;
     this.ConfigService      = ConfigService;
     this.ArticeService      = ArticeService;
 }
 public InfoArticeController(IBaseManager BaseManager, IClassService ClassService, IArticeService ArticeService) : base(BaseManager)
 {
     this.BaseManager   = BaseManager;
     this.ClassService  = ClassService;
     this.ArticeService = ArticeService;
 }