Example #1
0
 public AppController(ISysConfigService config, ICacheManager cache, ISysNewsService news, ISysIconService icon, ISysCarouselService carousel, ISysSlideService slide, ISysArticleService article)
 {
     _cacheManager       = cache;
     _sysconfigService   = config;
     _sysnewsService     = news;
     _sysiconService     = icon;
     _syscarouselService = carousel;
     _sysslideService    = slide;
     _sysarticleService  = article;
 }
 public ArticleController(ISysConfigService config, ICacheManager cache, ISysUserService user,
                          ISysChannelService channel, ISysCategoryService category, ISysArticleService article)
 {
     _cacheManager       = cache;
     _sysuserSerice      = user;
     _syscategoryService = category;
     _sysconfigService   = config;
     _syschannelService  = channel;
     _sysarticleService  = article;
 }