Skip to content

Commit

Permalink
Remove unused using
Browse files Browse the repository at this point in the history
  • Loading branch information
support committed Nov 28, 2023
1 parent ae7c53e commit 64d8cfe
Show file tree
Hide file tree
Showing 54 changed files with 6 additions and 78 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Grand.Business.Core.Interfaces.Common.Logging;
using Grand.Domain.Data;
using Grand.Domain.Data;
using Grand.Domain.Permissions;
using Grand.Infrastructure.Migrations;
using Microsoft.Extensions.DependencyInjection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Grand.Business.Core.Interfaces.Common.Security;
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Web.Common.Controllers;
using Grand.Web.Common.Filters;
using Grand.Web.Common.Security.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Domain.Discounts;
using Grand.Web.Common.Controllers;
using Grand.Web.Common.Filters;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Domain.Discounts;
using Grand.Web.Common.Controllers;
using Grand.Web.Common.Filters;
using Microsoft.AspNetCore.Mvc;
using System.Globalization;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using Grand.Web.Common.Controllers;
using Grand.Web.Common.DataSource;
using Grand.Web.Common.Extensions;
using Grand.Web.Common.Filters;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using Grand.Web.Common.Controllers;
using Grand.Web.Common.DataSource;
using Grand.Web.Common.Extensions;
using Grand.Web.Common.Filters;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Domain.Discounts;
using Grand.Web.Common.Controllers;
using Grand.Web.Common.Filters;
using Microsoft.AspNetCore.Mvc;
using System.Globalization;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Grand.Business.Core.Interfaces.Checkout.Orders;
using Grand.Business.Core.Interfaces.Checkout.Payments;
using Grand.Business.Core.Queries.Checkout.Orders;
using Grand.Business.Core.Interfaces.Common.Logging;
using Grand.Domain.Orders;
using Grand.Domain.Payments;
using Grand.Infrastructure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Grand.Business.Core.Interfaces.Common.Logging;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging;
using System.Net.Http;

namespace Payments.PayPalStandard.Services
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Web.Common.Controllers;
using Grand.Web.Common.DataSource;
using Grand.Web.Common.Filters;
using Grand.Web.Common.Security.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Web.Common.Controllers;
using Grand.Web.Common.DataSource;
using Grand.Web.Common.Filters;
using Grand.Web.Common.Security.Authorization;
using Microsoft.AspNetCore.Mvc;
using Tax.FixedRate.Models;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Grand.Domain.Customers;
using Grand.Infrastructure;
using Grand.Web.Common.Controllers;
using Grand.Web.Common.Filters;
using Grand.Web.Common.Security.Authorization;
using Microsoft.AspNetCore.Mvc;
using Widgets.GoogleAnalytics.Models;
Expand Down
2 changes: 0 additions & 2 deletions src/Web/Grand.Web.Admin/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using Grand.Business.Core.Interfaces.Authentication;
using Grand.Business.Core.Queries.Checkout.Orders;
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.Queries.Customers;
using Grand.Business.Core.Interfaces.System.Reports;
Expand Down
3 changes: 1 addition & 2 deletions src/Web/Grand.Web.Admin/Controllers/PermissionController.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using DotLiquid.Util;
using Grand.Business.Core.Extensions;
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.Security;
Expand Down
4 changes: 1 addition & 3 deletions src/Web/Grand.Web.Admin/Controllers/PluginController.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Grand.Business.Core.Extensions;
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Business.Core.Interfaces.Common.Logging;
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Business.Core.Utilities.Common.Security;
using Grand.Infrastructure;
using Grand.Infrastructure.Configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Grand.Web.Common.Extensions;
using Grand.Web.Common.Security.Authorization;
using Grand.Domain.Seo;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Catalog;
using Microsoft.AspNetCore.Mvc;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Controllers/ShipmentController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Grand.Domain.Orders;
using Grand.Domain.Shipping;
using Grand.Infrastructure;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Interfaces;
using Grand.Web.Admin.Models.Orders;
using Grand.Web.Common.DataSource;
Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Controllers/SystemController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Grand.Business.Core.Interfaces.Checkout.Shipping;
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.Utilities.Common.Security;
using Grand.Business.Core.Interfaces.System.MachineNameProvider;
using Grand.Domain.Directory;
Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/AddressAttributeProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Common;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Common;
using Grand.Web.Common.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Common;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Common;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/BlogCategoryProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Blogs;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Blogs;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/CheckoutAttributeProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Orders;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Orders;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/ContactAttributeProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Messages;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Messages;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/CountryProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Directory;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Directory;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/CourseProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Courses;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Courses;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/CurrencyProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Directory;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Directory;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/CustomerAttributeProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Customers;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Customers;
using Grand.Web.Common.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Customers;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Customers;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/DeliveryDateProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Shipping;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Shipping;
using Grand.Web.Common.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Orders;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Settings;
using Grand.Web.Common.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Orders;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Settings;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/MessageTemplateProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Messages;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Messages;
using Grand.Web.Common.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Messages;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Messages;
using Grand.Web.Common.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Catalog;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Catalog;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/ProductAttributeProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Catalog;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Catalog;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/ShippingMethodProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Shipping;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Shipping;
using Grand.Web.Common.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Catalog;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Catalog;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/StateProvinceProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Directory;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Directory;
using Grand.Web.Common.Extensions;

Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Mapper/StoreProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using AutoMapper;
using Grand.Domain.Stores;
using Grand.Infrastructure.Mapper;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Stores;
using Grand.Web.Common.Extensions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Infrastructure;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Extensions.Mapping;
using Grand.Web.Admin.Interfaces;
using Grand.Web.Admin.Models.Catalog;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Grand.Domain.Catalog;
using Grand.Domain.Customers;
using Grand.Infrastructure;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Extensions.Mapping;
using Grand.Web.Admin.Interfaces;
using Grand.Web.Admin.Models.Catalog;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
using Grand.Domain.Tax;
using Grand.Infrastructure;
using Grand.SharedKernel;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Extensions.Mapping;
using Grand.Web.Admin.Interfaces;
using Grand.Web.Admin.Models.Catalog;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using Grand.Domain.Discounts;
using Grand.Domain.Vendors;
using Grand.Infrastructure;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Extensions.Mapping;
using Grand.Web.Admin.Interfaces;
using Grand.Web.Admin.Models.Catalog;
Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Admin/Services/PageViewModelService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Grand.Business.Core.Interfaces.Common.Stores;
using Grand.Domain.Seo;
using Grand.Domain.Pages;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Interfaces;
using Grand.Web.Admin.Models.Pages;
using Microsoft.AspNetCore.Mvc.Rendering;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Grand.Business.Core.Extensions;
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Business.Core.Interfaces.Storage;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Interfaces;
using Grand.Web.Admin.Models.Common;
using Grand.Web.Common.Extensions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using Grand.Domain.Orders;
using Grand.Domain.Shipping;
using Grand.Infrastructure;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Interfaces;
using Grand.Web.Admin.Models.Orders;
using Microsoft.AspNetCore.Http;
Expand Down
3 changes: 0 additions & 3 deletions src/Web/Grand.Web.Common/Controllers/BaseController.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Business.Core.Interfaces.Common.Logging;
using Grand.Infrastructure;
using Grand.Web.Common.DataSource;
using Grand.Web.Common.Events;
using Grand.Web.Common.Extensions;
using Grand.Web.Common.Filters;
using Grand.Web.Common.Models;
using Grand.Web.Common.Page;
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
Expand Down
1 change: 0 additions & 1 deletion src/Web/Grand.Web.Common/Filters/AuthorizeMenuAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Grand.SharedKernel.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Routing;

namespace Grand.Web.Common.Filters
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Grand.Business.Core.Extensions;
using Grand.Business.Core.Interfaces.Common.Logging;
using Grand.Business.Core.Interfaces.System.ScheduleTasks;
using Grand.Business.Core.Interfaces.System.ScheduleTasks;
using Grand.Infrastructure;
using Grand.Domain.Tasks;
using Microsoft.Extensions.DependencyInjection;
Expand Down
Loading

0 comments on commit 64d8cfe

Please sign in to comment.