示例#1
0
 public UnitOfWork(DuxContext ctx, UsuarioManager usuarioManager, RoleManager <IdentityRole> roleManager, ILogger <UnitOfWork> logger)
 {
     _context        = ctx;
     _usuarioManager = usuarioManager;
     _roleManager    = roleManager;
     _logger         = logger;
 }
示例#2
0
文件: Seed.cs 项目: fmdufour/dux
 public Seed(DuxContext ctx, UsuarioManager usr, RoleManager <IdentityRole> role)
 {
     _ctx  = ctx;
     _usr  = usr;
     _role = role;
 }