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
ContactAttributeController.cs - remove unused field
support3597f679a300
diff --git a/src/Web/Grand.Web.Admin/Controllers/ContactAttributeController.cs b/src/Web/Grand.Web.Admin/Controllers/ContactAttributeController.csindex 03f297f2e..a8b14dcaf 100644--- a/src/Web/Grand.Web.Admin/Controllers/ContactAttributeController.cs+++ b/src/Web/Grand.Web.Admin/Controllers/ContactAttributeController.cs@@ -1,8 +1,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.Business.Core.Interfaces.Marketing.Contacts;using Grand.Web.Common.DataSource;@@ -25,26 +23,21 @@ namespace Grand.Web.Admin.Controllersprivate readonly IContactAttributeService _contactAttributeService;private readonly ILanguageService _languageService;private readonly ITranslationService _translationService;- private readonly IStoreService _storeService;- private readonly IGroupService _groupService;#endregion#region Constructors- public ContactAttributeController(IContactAttributeViewModelService contactAttributeViewModelService,+ public ContactAttributeController(+ IContactAttributeViewModelService contactAttributeViewModelService,IContactAttributeService contactAttributeService,ILanguageService languageService,- ITranslationService translationService,- IStoreService storeService,- IGroupService groupService)+ ITranslationService translationService){_contactAttributeViewModelService = contactAttributeViewModelService;_contactAttributeService = contactAttributeService;_languageService = languageService;_translationService = translationService;- _storeService = storeService;- _groupService = groupService;}#endregion