Exemple #1
0
        /// <summary>
        /// Creates new account
        /// </summary>
        public void CreateAccount(Account account)
        {
            if (account == null)
            {
                throw new ArgumentNullException();
            }

            accountsInMemory.Add(account);
            _accountStorage.AppendAccountToFile(account);
        }