Example #1
0
 public AuthRepository()
 {
     context     = new HoYaContext();
     userStore   = new UserStore <IdentityUser>(context);
     userManager = new UserManager <IdentityUser>(userStore);
     roleManager = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>(context));
 }
Example #2
0
 public WorkFlowsRepository(HoYaContext db)
 {
     this.db = db;
 }