From fd122fe582eb474eb0685cbaf93e60efdc20b15b Mon Sep 17 00:00:00 2001 From: MahanCh Date: Sun, 10 Aug 2025 11:08:59 +0330 Subject: [PATCH] fix error --- .../Repository/PaymentTransactionRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,