Guest User

Untitled

a guest
Dec 19th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. var userManager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(db));
  2. var resultado = userManager.AddToRole(miId, miRole);
  3.  
  4. UserValidator = new UserValidator<ApplicationUser>(this) { AllowOnlyAlphanumericUserNames = false };
Add Comment
Please, Sign In to add comment