public PasswordActionRepository(Settings settings)
        {
            database = new PasswordActionContext();
            Settings = settings;
            database.PasswordActions.Include(passAct => passAct.SymbolActions);
            database.Users.Load();
            PasswordActions = database.PasswordActions.Local;
            database.PasswordActions.Include(passAct => passAct.SymbolActions).Where(passAct => passAct.UserId == this.Settings.User.Id).Load();
            database.PasswordActions.Where(passAct => passAct.UserId == this.Settings.User.Id).
            //PasswordActions = database.PasswordActions.Local.ToBindingList();
            Users = database.Users.Local;
            //UpdatePasswordAtions();
            //UpdateUsers();

            AbstractGroup passwordActionsGroup = new PasswordActionsGroup(PasswordActions);
            GroupBuilder  groupBuilder         = new GroupBuilder(passwordActionsGroup);
            GroupBuilder  userGroupBuilder     = groupBuilder.AppendGroup(passAct => passAct.UserId == this.Settings.User.Id);
            //повторяем для всех пользователей
            GroupBuilder samePasswordsGroupBuilder = userGroupBuilder.AppendGroup(passAct => passAct.ValidPassword == this.Settings.Password);

            //повторяем для всех паролей
            samePasswordsGroupBuilder.AppendGroupLeaf()
        }