Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Grand.Business.Core.Queries.Checkout.Orders;
using Grand.Domain.Payments;
using Grand.Domain.Permissions;
using Grand.Infrastructure;
using Grand.SharedKernel;
using Grand.Web.AdminShared.Models.Orders;
using Grand.Web.Common.DataSource;
Expand All @@ -27,15 +26,13 @@ public PaymentTransactionController(
ITranslationService translationService,
IPaymentTransactionService paymentTransactionService,
IOrderService orderService,
IContextAccessor contextAccessor,
IDateTimeService dateTimeService,
IMediator mediator,
IEnumTranslationService enumTranslationService)
{
_translationService = translationService;
_paymentTransactionService = paymentTransactionService;
_orderService = orderService;
_contextAccessor = contextAccessor;
_dateTimeService = dateTimeService;
_mediator = mediator;
_enumTranslationService = enumTranslationService;
Expand All @@ -48,7 +45,6 @@ public PaymentTransactionController(
private readonly IPaymentTransactionService _paymentTransactionService;
private readonly IOrderService _orderService;
private readonly ITranslationService _translationService;
private readonly IContextAccessor _contextAccessor;
private readonly IDateTimeService _dateTimeService;
private readonly IMediator _mediator;
private readonly IEnumTranslationService _enumTranslationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Domain.Permissions;
using Grand.Domain.Seo;
using Grand.Infrastructure;
using Grand.Web.AdminShared.Extensions.Mapping;
using Grand.Web.AdminShared.Models.Catalog;
using Grand.Web.Common.DataSource;
Expand All @@ -23,14 +22,12 @@ public ProductAttributeController(
IProductAttributeService productAttributeService,
ILanguageService languageService,
ITranslationService translationService,
IContextAccessor contextAccessor,
SeoSettings seoSettings)
{
_productService = productService;
_productAttributeService = productAttributeService;
_languageService = languageService;
_translationService = translationService;
_contextAccessor = contextAccessor;
_seoSettings = seoSettings;
}

Expand All @@ -42,7 +39,6 @@ public ProductAttributeController(
private readonly IProductAttributeService _productAttributeService;
private readonly ILanguageService _languageService;
private readonly ITranslationService _translationService;
private readonly IContextAccessor _contextAccessor;
private readonly SeoSettings _seoSettings;

#endregion Fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Domain.Permissions;
using Grand.Domain.Seo;
using Grand.Infrastructure;
using Grand.Web.AdminShared.Extensions.Mapping;
using Grand.Web.AdminShared.Models.Catalog;
using Grand.Web.Common.DataSource;
Expand All @@ -22,14 +21,12 @@ public SpecificationAttributeController(
ISpecificationAttributeService specificationAttributeService,
ILanguageService languageService,
ITranslationService translationService,
IContextAccessor contextAccessor,
IProductService productService,
SeoSettings seoSettings)
{
_specificationAttributeService = specificationAttributeService;
_languageService = languageService;
_translationService = translationService;
_contextAccessor = contextAccessor;
_productService = productService;
_seoSettings = seoSettings;
}
Expand Down Expand Up @@ -96,7 +93,6 @@ public async Task<IActionResult> UsedByProducts(DataSourceRequest command, strin
private readonly IProductService _productService;
private readonly ILanguageService _languageService;
private readonly ITranslationService _translationService;
private readonly IContextAccessor _contextAccessor;
private readonly SeoSettings _seoSettings;

#endregion Fields
Expand Down
4 changes: 0 additions & 4 deletions src/Web/Grand.Web.Vendor/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Grand.Business.Core.Interfaces.Common.Directory;
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Domain.Directory;
using Grand.Infrastructure;
using Microsoft.AspNetCore.Mvc;

namespace Grand.Web.Vendor.Controllers;
Expand All @@ -12,11 +11,9 @@ public class HomeController : BaseVendorController
#region Ctor

public HomeController(
IContextAccessor contextAccessor,
ILogger<HomeController> logger,
IGrandAuthenticationService authenticationService)
{
_contextAccessor = contextAccessor;
_logger = logger;
_authenticationService = authenticationService;
}
Expand All @@ -25,7 +22,6 @@ public HomeController(

#region Fields

private readonly IContextAccessor _contextAccessor;
private readonly ILogger<HomeController> _logger;
private readonly IGrandAuthenticationService _authenticationService;

Expand Down
Loading