Example #1
0
        public static DotNetUserManager Create(IdentityFactoryOptions <DotNetUserManager> options, IOwinContext context)
        {
            BrowseDotNetDbContext db      = context.Get <BrowseDotNetDbContext>();
            DotNetUserManager     manager = new DotNetUserManager(new UserStore <DotNetUser>(db));

            return(manager);
        }
Example #2
0
 public BrowseDotNetDbContext Init()
 {
     return dbContext ?? (dbContext = new BrowseDotNetDbContext());
 }
Example #3
0
 public BrowseDotNetDbContext Init()
 {
     return(dbContext ?? (dbContext = new BrowseDotNetDbContext()));
 }