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)); }
public static Account.Account ToBllAccount(this DalAccount dalAccount) { return(AccountFabric.Create(ToBllAccountHolder(dalAccount.DalAccountHolder), dalAccount.Id, dalAccount.AccountType, dalAccount.Balance, dalAccount.AccountStatus)); }