public TffFacultyRepository(TffFacultyContext context,
                             ILogger <TffFacultyRepository> logger,
                             UserManager <User> userManager,
                             RoleManager <IdentityRole> roleManager,
                             IEmailSender emailSender,
                             IHttpContextAccessor contextAccessor,
                             IOptions <AppSettings> appSettings,
                             IUrlHelper urlHelper,
                             IHttpContextAccessor httpContext)
 {
     _userManager     = userManager;
     _logger          = logger;
     _context         = context;
     _roleManager     = roleManager;
     _emailSender     = emailSender;
     _contextAccessor = contextAccessor;
     _appSettings     = appSettings;
     _urlHelper       = urlHelper;
     _httpContext     = httpContext;
 }
Example #2
0
 public TffFacultyContextSeedData(TffFacultyContext context, UserManager <User> userManager, IOptions <AppSettings> appSettings)
 {
     _context     = context;
     _usermanager = userManager;
     _appSettings = appSettings;
 }