diff --git a/CompanyManagment.EFCore/Repository/PaymentTransactionRepository.cs b/CompanyManagment.EFCore/Repository/PaymentTransactionRepository.cs index aa8a5d7d..132a7fee 100644 --- a/CompanyManagment.EFCore/Repository/PaymentTransactionRepository.cs +++ b/CompanyManagment.EFCore/Repository/PaymentTransactionRepository.cs @@ -63,7 +63,7 @@ var paymentTransactionsData = await query .ToListAsync(); // 2. استخراج prefix و suffix از کارت‌های ماسک‌شده -var maskedCardInfos = paymentTransactionsData +var maskedCardInfos = paymentTransactionsData.Where(x=>x.CardNumber!=null) .Select(x => new { MaskedCard = x.CardNumber,