public UnitOfWork(DuxContext ctx, UsuarioManager usuarioManager, RoleManager <IdentityRole> roleManager, ILogger <UnitOfWork> logger) { _context = ctx; _usuarioManager = usuarioManager; _roleManager = roleManager; _logger = logger; }
public Seed(DuxContext ctx, UsuarioManager usr, RoleManager <IdentityRole> role) { _ctx = ctx; _usr = usr; _role = role; }