/// <summary> /// Load <see cref="AppUserRolesSet"/> to this.<see cref="RoleSet"/> /// using <see cref="AppDbContext"/> /// </summary> /// <returns>Loaded <see cref="RoleSet"/></returns> public async Task <AppUserRolesSet> LoadRoleSetAsync(AppDbContext db) { return(RoleSet ??= await AppUserRolesSet.LoadAsync(this, db)); }
/// <summary> /// Load <see cref="AppUserRolesSet"/> to this.<see cref="RoleSet"/> /// using <see cref="UserManager{AppUser}"/> /// </summary> /// <returns>Loaded <see cref="RoleSet"/></returns> public async Task <AppUserRolesSet> LoadRoleSetAsync(UserManager <AppUser> userManager) { return(RoleSet ??= await AppUserRolesSet.LoadAsync(this, userManager)); }