Пример #1
0
 public DirtbagBLL(IMemoryCache memoryCache, DAL.IDirtbagDAL dirtbagDAL, DAL.ISubredditDAL subredditDAL, DAL.IYouTubeDAL youTubeDAL)
 {
     cache   = memoryCache;
     dirtbag = dirtbagDAL;
     subDAL  = subredditDAL;
     ytDAL   = youTubeDAL;
 }
Пример #2
0
 //private Utilities.AuthUtils authUtils;
 public SubredditBLL(IMemoryCache memoryCache, DAL.ISubredditDAL subredditDAL, UserManager <ApplicationUser> userManager,
                     DAL.INoteTypesDAL noteTypesDAL, RoleManager <IdentityRole> roleManager, Utilities.IAuthUtils authUtils)
 {
     subDAL         = subredditDAL;
     cache          = memoryCache;
     ntDAL          = noteTypesDAL;
     _roleManager   = roleManager;
     this.authUtils = authUtils;
 }
Пример #3
0
 public AuthUtils(IConfigurationRoot config,
                  UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager,
                  ILoggerFactory loggerFactory, DAL.ISubredditDAL subredditDAL, RedditSharp.RefreshTokenWebAgentPool agentPool, RedditSharp.WebAgentPool <string, RedditSharp.BotWebAgent> serviceAgentPool) : base(config, userManager, roleManager, loggerFactory, subredditDAL, agentPool, serviceAgentPool)
 {
     _userManager = userManager;
     //_logger = loggerFactory.CreateLogger<AuthUtils>();
     _roleManager   = roleManager;
     Configuration  = config;
     subDAL         = subredditDAL;
     this.agentPool = agentPool;
 }