private IList <ChangePaymentType> GetChangePaymentTypes(PaymentType paymentType) { return(_foreignCurrencyButtonsViewModel.ForeignCurrency == null ? new List <ChangePaymentType>() : _applicationState.GetChangePaymentTypes().Where(x => x.AccountTransactionType.TargetAccountTypeId == paymentType.AccountTransactionType.SourceAccountTypeId).ToList()); }