Beispiel #1
0
 public DicUnitResponse(NoDataOptions options, Globle globle, WDbContext wDbContext) : base(options)
 {
     DicUnits        = DefaultDatabase.GetCollection <DicUnit>(DicUnit.DicUnitTableName);
     this.globle     = globle;
     dicBckFolder    = globle.GetGlobleFolder <DicBckFolder>();
     this.wDbContext = wDbContext;
 }
Beispiel #2
0
 public UserResponse(WDbContext dbContext,
                     UserManager <SUser> userManager,
                     SignInManager <SUser> signInManager,
                     RoleManager <SRole> roleManager,
                     STokenProvider tokenProvider,
                     Globle globle)
     : base(dbContext)
 {
     _userManager        = userManager;
     _signInManager      = signInManager;
     _roleManager        = roleManager;
     _tokenProvider      = tokenProvider;
     _globle             = globle;
     _headPortraitFolder = _globle.GetGlobleFolder <HeadPortraitFolder>();
 }