예제 #1
0
 public static Account.Account ToBllAccount(this AccountEntity account)
 {
     return(AccountFabric.Create(
                new AccountHolder(account.AccountHolder.FirstName, account.AccountHolder.LastName,
                                  account.AccountHolder.Email), account.Id, account.AccountType, account.Balance,
                account.AccountStatus));
 }
예제 #2
0
 public static Account.Account ToBllAccount(this DalAccount dalAccount)
 {
     return(AccountFabric.Create(ToBllAccountHolder(dalAccount.DalAccountHolder), dalAccount.Id,
                                 dalAccount.AccountType, dalAccount.Balance, dalAccount.AccountStatus));
 }