Exemplo n.º 1
0
 public ContentController(IArticleManager articleManager, ISiteInfoManager siteInfoManager,
                          UserManager <ApplicationIdentityUser> userManager,
                          ILatestNewsManager latestNewsManager,
                          ICategoryManager categoryManager)
 {
     _categoryManager   = categoryManager;
     _articleManager    = articleManager;
     _userManager       = userManager;
     _siteInfoManager   = siteInfoManager;
     _latestNewsManager = latestNewsManager;
 }
Exemplo n.º 2
0
 public SiteInfoController(ISiteInfoManager siteInfoManager,
                           IArticleManager articleManager,
                           ITagManager tagManager,
                           ICommentManager commentManager,
                           ICategoryManager categoryManager)
 {
     _categoryManager = categoryManager;
     _siteInfoManager = siteInfoManager;
     _articleManager  = articleManager;
     _commentManager  = commentManager;
     _tagManager      = tagManager;
 }