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.

Remove unused variables

support5a153080f544
diff --git a/src/Web/Grand.Web/Features/Handlers/Checkout/GetShippingMethodHandler.cs b/src/Web/Grand.Web/Features/Handlers/Checkout/GetShippingMethodHandler.cs
index 9c89cc0ba..3df51b71a 100644
--- a/src/Web/Grand.Web/Features/Handlers/Checkout/GetShippingMethodHandler.cs
+++ b/src/Web/Grand.Web/Features/Handlers/Checkout/GetShippingMethodHandler.cs
@@ -18,26 +18,19 @@ namespace Grand.Web.Features.Handlers.Checkout
private readonly IUserFieldService _userFieldService;
private readonly IOrderCalculationService _orderTotalCalculationService;
private readonly ITaxService _taxService;
- private readonly ICurrencyService _currencyService;
private readonly IPriceFormatter _priceFormatter;
- private readonly ShippingSettings _shippingSettings;
-
public GetShippingMethodHandler(IShippingService shippingService,
IUserFieldService userFieldService,
IOrderCalculationService orderTotalCalculationService,
ITaxService taxService,
- ICurrencyService currencyService,
- IPriceFormatter priceFormatter,
- ShippingSettings shippingSettings)
+ IPriceFormatter priceFormatter)
{
_shippingService = shippingService;
_userFieldService = userFieldService;
_orderTotalCalculationService = orderTotalCalculationService;
_taxService = taxService;
- _currencyService = currencyService;
_priceFormatter = priceFormatter;
- _shippingSettings = shippingSettings;
}
public async Task<CheckoutShippingMethodModel> Handle(GetShippingMethod request, CancellationToken cancellationToken)