Beispiel #1
0
        public static IdentityContext Create()
        {
            IdentityContext contexto = new IdentityContext();

            return(contexto);
        }
Beispiel #2
0
 public IdentityRepository()
 {
     _ctx         = new IdentityContext();
     _userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(_ctx));
 }