Пример #1
0
 public ReminderManager(FoodBankContext context, ILogger <ReminderManager> logger, IEmailSender emailSender, bool isTesting = false)
 {
     _isTesting   = isTesting;
     _context     = context;
     _logger      = logger;
     _emailSender = emailSender;
 }
Пример #2
0
 public DbSeeder(RoleManager <IdentityRole <int> > roleManager, UserManager <AppUser> userManager, FoodBankContext foodBankContext)
 {
     _roleManager = roleManager;
     _userManager = userManager;
     _context     = foodBankContext;
 }