public static BankAccount ToBllModel(Account account)
        {
            if (ReferenceEquals(null, account))
            {
                throw new ArgumentNullException($"{nameof(account)} is null.");
            }

            AccountType type = AccountTypeMapper.ToBllModel(account.Type);

            return(AccountFactory.Create(account.Firstname, account.Lastname, type, account.Id));
        }