public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILoggerFactory loggerFactory, BLL.ISubredditBLL subredditBLL, Utilities.IAuthUtils authUtils, IMemoryCache memoryCache, RoleManager <IdentityRole> roleManager, RedditSharp.RefreshTokenWebAgentPool agentPool, RedditSharp.WebAgentPool <string, RedditSharp.BotWebAgent> serviceAgentPool, IConfigurationRoot configRoot) { subBLL = subredditBLL; _userManager = userManager; _signInManager = signInManager; _logger = loggerFactory.CreateLogger <AccountController>(); this.authUtils = authUtils; this.agentPool = agentPool; this.serviceAgentPool = serviceAgentPool; Configuration = configRoot; }
public SubredditController(BLL.ISubredditBLL subredditBLL, IConfigurationRoot config) { subBLL = subredditBLL; cabalSub = config["CabalSubreddit"]; }