From c75e3464d78f6a700b46518b0b290794bf7be071 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Thu, 7 Aug 2025 10:08:56 +0330 Subject: [PATCH] fix bug --- .../Areas/Admin/Controllers/PaymentInstrumentController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServiceHost/Areas/Admin/Controllers/PaymentInstrumentController.cs b/ServiceHost/Areas/Admin/Controllers/PaymentInstrumentController.cs index a42dc37a..e5d86ca4 100644 --- a/ServiceHost/Areas/Admin/Controllers/PaymentInstrumentController.cs +++ b/ServiceHost/Areas/Admin/Controllers/PaymentInstrumentController.cs @@ -241,7 +241,7 @@ public class PaymentInstrumentController:AdminBaseController AccountHolderName = "تست تستی", BankName = "تست بانک", }); - }else if ((!string.IsNullOrWhiteSpace(command.AccountNumber) && command.AccountNumber.StartsWith("222222")) || (!string.IsNullOrWhiteSpace(command.CardNumber)&&command.CardNumber.StartsWith("222222")) || (!string.IsNullOrWhiteSpace(command.CardNumber)&&command.IBan.StartsWith("222222"))) + }else if ((!string.IsNullOrWhiteSpace(command.AccountNumber) && command.AccountNumber.StartsWith("222222")) || (!string.IsNullOrWhiteSpace(command.CardNumber)&&command.CardNumber.StartsWith("222222")) || (!string.IsNullOrWhiteSpace(command.CardNumber)&&command.CardNumber.StartsWith("222222"))) { return new OperationResult().Failed("دیتای وارد شده نامعتبر است"); }