Beispiel #1
0
 public UserRepository(IConfiguration config, INotificationUtility notification,
                       UserManager <User> userManager, DbContext context, RoleManager <Role> roleManager)
 {
     _config       = config;
     _context      = context;
     _userManager  = userManager;
     _roleManager  = roleManager;
     _notification = notification;
 }
Beispiel #2
0
 public UserRepository(UserManager <Entities.User> userManager, INotificationUtility notification, DbContext context)
 {
     _context      = context;
     _userManager  = userManager;
     _notification = notification;
 }