public void OpenAccount(string owner, AccountType type, IAccountNumberCreateService creator) { _accounts.Add(new Account(creator.GenerateNewAccountNumber(), owner, type)); }