Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var userManager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(db));
- var resultado = userManager.AddToRole(miId, miRole);
- UserValidator = new UserValidator<ApplicationUser>(this) { AllowOnlyAlphanumericUserNames = false };
Add Comment
Please, Sign In to add comment