public static void SeedIdentities(NokIdentityContext context) { var UserManger = new NokUserMangare(new UserStore <NokUser>(context)); var RolManger = new NokRoleManager(new MRoleStore(context)); // context.Users RolManger.EnsureDefaultRolesExist(); CreatUser(UserManger, "*****@*****.**", "Admin"); }
public MRoleStore(NokIdentityContext context) : base(context) { }
public NokUserStore(NokIdentityContext context) { this.context = context; }