Example #1
0
 public AdminController()
 {
     context     = new ApplicationDbContext();
     db          = new SESEntities();
     roleManager = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>(context));
     userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(context));
 }