Beispiel #1
0
        public IEnumerable <AccountTypeChangeableLifeCycle> GetChangeableProductLifeCylesForAccount(int accountId)
        {
            CustomerAccount acc = GetAccount(accountId);
            IEnumerable <AccountTypeChangeableLifeCycle> lifeCyclesForAccount =
                _customerAccountRepository.GetChangeableLifeCycles()
                .Where(c => c.AccountType == (int)acc.AccountType);

            return(lifeCyclesForAccount);
        }