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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
CurrencyController.cs - remove unused field
supporte3d6a218af03
diff --git a/src/Web/Grand.Web.Admin/Controllers/CurrencyController.cs b/src/Web/Grand.Web.Admin/Controllers/CurrencyController.csindex 59ac30d63..2f203f72c 100644--- a/src/Web/Grand.Web.Admin/Controllers/CurrencyController.cs+++ b/src/Web/Grand.Web.Admin/Controllers/CurrencyController.cs@@ -2,7 +2,6 @@using Grand.Business.Core.Interfaces.Common.Configuration;using Grand.Business.Core.Interfaces.Common.Directory;using Grand.Business.Core.Interfaces.Common.Localization;-using Grand.Business.Core.Interfaces.Common.Stores;using Grand.Business.Core.Utilities.Common.Security;using Grand.Domain.Directory;using Grand.Infrastructure.Caching;@@ -13,7 +12,6 @@ using Grand.Web.Admin.Models.Directory;using Grand.Web.Common.DataSource;using Grand.Web.Common.Filters;using Grand.Web.Common.Security.Authorization;-using Microsoft.AspNetCore.Http;using Microsoft.AspNetCore.Mvc;using Microsoft.AspNetCore.Mvc.Rendering;using System.Globalization;@@ -33,20 +31,21 @@ namespace Grand.Web.Admin.Controllersprivate readonly IDateTimeService _dateTimeService;private readonly ITranslationService _translationService;private readonly ILanguageService _languageService;- private readonly IStoreService _storeService;private readonly ICacheBase _cacheBase;#endregion#region Constructors- public CurrencyController(ICurrencyService currencyService,+ public CurrencyController(+ ICurrencyService currencyService,IExchangeRateService exchangeRateService,ICurrencyViewModelService currencyViewModelService,- CurrencySettings currencySettings, ISettingService settingService,- IDateTimeService dateTimeService, ITranslationService translationService,+ CurrencySettings currencySettings,+ ISettingService settingService,+ IDateTimeService dateTimeService,+ ITranslationService translationService,ILanguageService languageService,- IStoreService storeService,ICacheBase cacheBase){_currencyService = currencyService;@@ -57,7 +56,6 @@ namespace Grand.Web.Admin.Controllers_dateTimeService = dateTimeService;_translationService = translationService;_languageService = languageService;- _storeService = storeService;_cacheBase = cacheBase;}