Exemple #1
0
 public UserService(UserManager <ApplicationUser> userManager, SD2411DBContext context)
 {
     _userManager = userManager;
     _context     = context;
 }
Exemple #2
0
 public UserServiceTest()
 {
     _dbContextOptionMock = new Mock <DbContextOptions <SD2411DBContext> >();
     _context             = new SD2411DBContext(_dbContextOptionMock.Object);
 }