Esempio n. 1
0
 public IdentityService(UserManager <UserModel> userManager, JwtSettings jwtSettings, PasswordOptions passOptions, DataContext dataContext)
 {
     _userManager = userManager;
     _jwtSettings = jwtSettings;
     _userManager.Options.Password = passOptions;
     _dataContext             = dataContext;
     _positionManager         = new PositionManager(dataContext);
     _emailSendMessageManager = new SendEmailManager();
 }
 public ClientDataService(UserManager <UserModel> userManager, DataContext dataContext)
 {
     _userManager     = userManager;
     _dataContext     = dataContext;
     _positionManager = new PositionManager(dataContext);
 }