public ContentController(IArticleManager articleManager, IHttpClientFactory httpClient, ILatestNewsManager latestNewsManager, IConfiguration configuration) { _configuration = configuration; _httpClient = httpClient; _articleManager = articleManager; _latestNewsManager = latestNewsManager; }
public ContentController(IArticleManager articleManager, ISiteInfoManager siteInfoManager, UserManager <ApplicationIdentityUser> userManager, ILatestNewsManager latestNewsManager, ICategoryManager categoryManager) { _categoryManager = categoryManager; _articleManager = articleManager; _userManager = userManager; _siteInfoManager = siteInfoManager; _latestNewsManager = latestNewsManager; }