public ApplicationGroupManager(ApplicationDbContext dbContext, ApplicationUserManager userManager, ApplicationRoleManager roleManager)
 {
     _db           = dbContext;
     _userManager  = userManager;
     _roleManager  = roleManager;
     _claimManager = new ApplicationClaimStore(_db);
     _groupStore   = new ApplicationGroupStore(_db);
 }
 public ApplicationGroupManager()
 {
     _db           = HttpContext.Current.GetOwinContext().Get <ApplicationDbContext>();
     _userManager  = HttpContext.Current.GetOwinContext().GetUserManager <ApplicationUserManager>();
     _roleManager  = HttpContext.Current.GetOwinContext().Get <ApplicationRoleManager>();
     _claimManager = new ApplicationClaimStore(_db);
     _groupStore   = new ApplicationGroupStore(_db);
 }