Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

PaymentTransactionController.cs - remove unused field

supportc82f470ff80c
diff --git a/src/Web/Grand.Web.Admin/Controllers/PaymentTransactionController.cs b/src/Web/Grand.Web.Admin/Controllers/PaymentTransactionController.cs
index 49b07bce6..4402406e7 100644
--- a/src/Web/Grand.Web.Admin/Controllers/PaymentTransactionController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/PaymentTransactionController.cs
@@ -24,7 +24,6 @@ namespace Grand.Web.Admin.Controllers
{
#region Fields
- private readonly IPaymentService _paymentService;
private readonly IPaymentTransactionService _paymentTransactionService;
private readonly IOrderService _orderService;
private readonly ITranslationService _translationService;
@@ -33,12 +32,11 @@ namespace Grand.Web.Admin.Controllers
private readonly IDateTimeService _dateTimeService;
private readonly IMediator _mediator;
- #endregion Fields
+ #endregion Fields
#region Constructors
public PaymentTransactionController(
- IPaymentService paymentService,
ITranslationService translationService,
IPaymentTransactionService paymentTransactionService,
IOrderService orderService,
@@ -48,7 +46,6 @@ namespace Grand.Web.Admin.Controllers
IMediator mediator
)
{
- _paymentService = paymentService;
_translationService = translationService;
_paymentTransactionService = paymentTransactionService;
_orderService = orderService;