private void AccountItemsDeleted(object sender, int[] e) { foreach (var index in e) { Accounts.RemoveAt(index); } OnAccountsChanged?.Invoke(this, EventArgs.Empty); }
private void AccountItemsInserted(object sender, int[] e) { foreach (var index in e) { Accounts.Add(_accountsRepository.Items[index]); } OnAccountsChanged?.Invoke(this, EventArgs.Empty); }