public void DeleteAccount(int id) { Accounts.RemoveAll(x => x.AccountID == id); AccountsCountChanged?.Invoke(); }
public void AddAccount(Account acc) { Accounts.Add(acc); AccountsCountChanged?.Invoke(); }