Example #1
0
 public FillDb(DatabaseContext context, IOptions <FillDbOptions> options,
               UserManager <User> userManager)
 {
     this.context     = context;
     this.userManager = userManager;
     this.options     = options.Value;
 }
Example #2
0
File: FillDb.cs Project: Suput/SIP
 public FillDb(IOptions <FillDbOptions> options,
               UserManager <User> userManager, RoleManager <Role> roleManager,
               ILogger <FillDb> logger)
 {
     this.userManager = userManager;
     this.roleManager = roleManager;
     this.logger      = logger;
     this.options     = options.Value;
 }