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 variable

support871bd7aa8a26
diff --git a/src/Web/Grand.Web/Features/Handlers/Catalog/GetBrandHandler.cs b/src/Web/Grand.Web/Features/Handlers/Catalog/GetBrandHandler.cs
index 356ad87b4..57c7cac53 100644
--- a/src/Web/Grand.Web/Features/Handlers/Catalog/GetBrandHandler.cs
+++ b/src/Web/Grand.Web/Features/Handlers/Catalog/GetBrandHandler.cs
@@ -15,7 +15,6 @@ namespace Grand.Web.Features.Handlers.Catalog
public class GetBrandHandler : IRequestHandler<GetBrand, BrandModel>
{
private readonly IMediator _mediator;
- private readonly ICacheBase _cacheBase;
private readonly ISpecificationAttributeService _specificationAttributeService;
private readonly IHttpContextAccessor _httpContextAccessor;
@@ -23,13 +22,11 @@ namespace Grand.Web.Features.Handlers.Catalog
public GetBrandHandler(
IMediator mediator,
- ICacheBase cacheBase,
ISpecificationAttributeService specificationAttributeService,
IHttpContextAccessor httpContextAccessor,
CatalogSettings catalogSettings)
{
_mediator = mediator;
- _cacheBase = cacheBase;
_specificationAttributeService = specificationAttributeService;
_httpContextAccessor = httpContextAccessor;
_catalogSettings = catalogSettings;