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.

SpecificationAttributeController.cs - remove unused field

support5148e8911081
diff --git a/src/Web/Grand.Web.Admin/Controllers/SpecificationAttributeController.cs b/src/Web/Grand.Web.Admin/Controllers/SpecificationAttributeController.cs
index 418014894..11f6cbcb0 100644
--- a/src/Web/Grand.Web.Admin/Controllers/SpecificationAttributeController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/SpecificationAttributeController.cs
@@ -3,7 +3,6 @@ using Grand.Business.Core.Extensions;
using Grand.Business.Core.Interfaces.Common.Directory;
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Business.Core.Interfaces.Common.Logging;
-using Grand.Business.Core.Interfaces.Common.Stores;
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Web.Common.DataSource;
using Grand.Web.Common.Filters;
@@ -26,20 +25,19 @@ namespace Grand.Web.Admin.Controllers
private readonly ILanguageService _languageService;
private readonly ITranslationService _translationService;
private readonly ICustomerActivityService _customerActivityService;
- private readonly IStoreService _storeService;
private readonly IWorkContext _workContext;
private readonly IGroupService _groupService;
private readonly SeoSettings _seoSettings;
- #endregion Fields
+ #endregion Fields
#region Constructors
- public SpecificationAttributeController(ISpecificationAttributeService specificationAttributeService,
+ public SpecificationAttributeController(
+ ISpecificationAttributeService specificationAttributeService,
ILanguageService languageService,
ITranslationService translationService,
ICustomerActivityService customerActivityService,
- IStoreService storeService,
IWorkContext workContext,
IGroupService groupService,
IProductService productService,
@@ -49,7 +47,6 @@ namespace Grand.Web.Admin.Controllers
_languageService = languageService;
_translationService = translationService;
_customerActivityService = customerActivityService;
- _storeService = storeService;
_workContext = workContext;
_groupService = groupService;
_productService = productService;