feat: add IsActive field to UserClubFeatures for admin management

This commit is contained in:
masoodafar-web
2025-12-12 01:40:26 +03:30
parent aa66ca10c8
commit ff1c1d5d61
68 changed files with 11456 additions and 198 deletions
@@ -130,7 +130,7 @@ public class DayaLoanApiService : IDayaLoanApiService
"/api/merchant/contracts",
requestBody,
cancellationToken);
var x = await response.Content.ReadAsStringAsync();
// خواندن پاسخ
var apiResponse = await response.Content.ReadFromJsonAsync<DayaContractsResponse>(cancellationToken);
@@ -211,7 +211,7 @@ public class DayaPaymentService : IPaymentGatewayService
{
IsSuccess = false,
Message = "فرمت شماره شبا نامعتبر است",
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
@@ -222,7 +222,7 @@ public class DayaPaymentService : IPaymentGatewayService
{
IsSuccess = false,
Message = "حداقل مبلغ برداشت 10,000 تومان است",
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
@@ -252,7 +252,7 @@ public class DayaPaymentService : IPaymentGatewayService
{
IsSuccess = false,
Message = $"خطا در واریز: {response.StatusCode}",
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
@@ -264,7 +264,7 @@ public class DayaPaymentService : IPaymentGatewayService
{
IsSuccess = false,
Message = "پاسخ نامعتبر از درگاه",
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
@@ -278,7 +278,7 @@ public class DayaPaymentService : IPaymentGatewayService
BankRefId = result.BankRefId,
TrackingCode = result.TrackingCode,
Message = result.Message,
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
catch (Exception ex)
@@ -288,7 +288,7 @@ public class DayaPaymentService : IPaymentGatewayService
{
IsSuccess = false,
Message = "خطا در پردازش واریز",
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
}
@@ -91,7 +91,7 @@ public class MockPaymentGatewayService : IPaymentGatewayService
{
IsSuccess = false,
Message = "فرمت شماره شبا نامعتبر است",
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
@@ -103,7 +103,7 @@ public class MockPaymentGatewayService : IPaymentGatewayService
{
IsSuccess = false,
Message = "حداقل مبلغ برداشت 10,000 تومان است",
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
@@ -121,7 +121,7 @@ public class MockPaymentGatewayService : IPaymentGatewayService
BankRefId = bankRefId,
TrackingCode = trackingCode,
Message = $"واریز {request.Amount:N0} تومان به حساب {request.Iban} با موفقیت انجام شد (Mock)",
ProcessedAt = DateTime.UtcNow
ProcessedAt = DateTime.Now
};
}
}