Skip to content

Remove unnecessary using statements #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Interfaces;

namespace CleanArchitecture.Application.Customers.Queries.GetCustomerList
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Moq.AutoMock;
using Moq.AutoMock;
using Moq.EntityFrameworkCore;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Domain.Customers;
using NUnit.Framework;

namespace CleanArchitecture.Application.Customers.Queries.GetCustomerList
{
{
[TestFixture]
public class GetCustomersListQueryTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace CleanArchitecture.Application.Customers.Queries.GetCustomerList
namespace CleanArchitecture.Application.Customers.Queries.GetCustomerList
{
public interface IGetCustomersListQuery
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Moq.AutoMock;
using Moq.AutoMock;
using Moq.EntityFrameworkCore;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Domain.Employees;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Interfaces;

namespace CleanArchitecture.Application.Employees.Queries.GetEmployeesList
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace CleanArchitecture.Application.Employees.Queries.GetEmployeesList
namespace CleanArchitecture.Application.Employees.Queries.GetEmployeesList
{
public interface IGetEmployeesListQuery
{
Expand Down
6 changes: 1 addition & 5 deletions Application/Interfaces/IInventoryService.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace CleanArchitecture.Application.Interfaces
namespace CleanArchitecture.Application.Interfaces
{
public interface IInventoryService
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Interfaces;

namespace CleanArchitecture.Application.Products.Queries.GetProductsList
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Moq.AutoMock;
using Moq.AutoMock;
using Moq.EntityFrameworkCore;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Domain.Products;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace CleanArchitecture.Application.Products.Queries.GetProductsList
namespace CleanArchitecture.Application.Products.Queries.GetProductsList
{
public interface IGetProductsListQuery
{
Expand Down
4 changes: 1 addition & 3 deletions Application/Sales/Commands/CreateSale/CreateSaleCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Sales.Commands.CreateSale.Factory;
using CleanArchitecture.Common.Dates;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Moq.AutoMock;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Sales.Commands.CreateSale.Factory;
Expand Down
6 changes: 1 addition & 5 deletions Application/Sales/Commands/CreateSale/CreateSaleModel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace CleanArchitecture.Application.Sales.Commands.CreateSale
namespace CleanArchitecture.Application.Sales.Commands.CreateSale
{
public class CreateSaleModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Employees;
using CleanArchitecture.Domain.Products;
using CleanArchitecture.Domain.Sales;
Expand Down
5 changes: 1 addition & 4 deletions Application/Sales/Commands/CreateSale/Factory/SaleFactory.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Employees;
using CleanArchitecture.Domain.Products;
using CleanArchitecture.Domain.Sales;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Employees;
using CleanArchitecture.Domain.Products;
using NUnit.Framework;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Interfaces;

namespace CleanArchitecture.Application.Sales.Queries.GetSaleDetail
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using Moq.AutoMock;
using Moq.AutoMock;
using Moq.EntityFrameworkCore;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Domain.Customers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace CleanArchitecture.Application.Sales.Queries.GetSaleDetail
{
public interface IGetSaleDetailQuery
Expand Down
6 changes: 1 addition & 5 deletions Application/Sales/Queries/GetSaleDetail/SaleDetailModel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace CleanArchitecture.Application.Sales.Queries.GetSaleDetail
namespace CleanArchitecture.Application.Sales.Queries.GetSaleDetail
{
public class SaleDetailModel
{
Expand Down
5 changes: 1 addition & 4 deletions Application/Sales/Queries/GetSalesList/GetSalesListQuery.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Interfaces;

namespace CleanArchitecture.Application.Sales.Queries.GetSalesList
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using Moq.AutoMock;
using Moq.AutoMock;
using Moq.EntityFrameworkCore;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Domain.Customers;
Expand Down
4 changes: 1 addition & 3 deletions Application/Sales/Queries/GetSalesList/IGetSalesListQuery.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace CleanArchitecture.Application.Sales.Queries.GetSalesList
namespace CleanArchitecture.Application.Sales.Queries.GetSalesList
{
public interface IGetSalesListQuery
{
Expand Down
4 changes: 1 addition & 3 deletions Application/Sales/Queries/GetSalesList/SalesListItemModel.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace CleanArchitecture.Application.Sales.Queries.GetSalesList
namespace CleanArchitecture.Application.Sales.Queries.GetSalesList
{
public class SalesListItemModel
{
Expand Down
6 changes: 1 addition & 5 deletions Common/Dates/DateService.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace CleanArchitecture.Common.Dates
namespace CleanArchitecture.Common.Dates
{
public class DateService : IDateService
{
Expand Down
6 changes: 1 addition & 5 deletions Common/Dates/IDateService.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace CleanArchitecture.Common.Dates
namespace CleanArchitecture.Common.Dates
{
public interface IDateService
{
Expand Down
6 changes: 1 addition & 5 deletions Domain/Common/IEntity.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace CleanArchitecture.Domain.Common
namespace CleanArchitecture.Domain.Common
{
public interface IEntity
{
Expand Down
3 changes: 1 addition & 2 deletions Domain/Customers/Customer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using CleanArchitecture.Domain.Common;
using CleanArchitecture.Domain.Common;

namespace CleanArchitecture.Domain.Customers
{
Expand Down
7 changes: 1 addition & 6 deletions Domain/Customers/CustomerTests.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using NUnit.Framework;

namespace CleanArchitecture.Domain.Customers
{
Expand Down
3 changes: 1 addition & 2 deletions Domain/Employees/Employee.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using CleanArchitecture.Domain.Common;
using CleanArchitecture.Domain.Common;

namespace CleanArchitecture.Domain.Employees
{
Expand Down
7 changes: 1 addition & 6 deletions Domain/Employees/EmployeeTests.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using NUnit.Framework;

namespace CleanArchitecture.Domain.Employees
{
Expand Down
3 changes: 1 addition & 2 deletions Domain/Products/Product.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using CleanArchitecture.Domain.Common;
using CleanArchitecture.Domain.Common;

namespace CleanArchitecture.Domain.Products
{
Expand Down
7 changes: 1 addition & 6 deletions Domain/Products/ProductTests.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using NUnit.Framework;

namespace CleanArchitecture.Domain.Products
{
Expand Down
4 changes: 1 addition & 3 deletions Domain/Sales/Sale.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using CleanArchitecture.Domain.Common;
using CleanArchitecture.Domain.Common;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Employees;
using CleanArchitecture.Domain.Products;
Expand Down
5 changes: 1 addition & 4 deletions Domain/Sales/SaleTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Employees;
using CleanArchitecture.Domain.Products;
using NUnit.Framework;
Expand Down
5 changes: 1 addition & 4 deletions Infrastructure/Inventory/InventoryService.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Infrastructure.Network;

namespace CleanArchitecture.Infrastructure.Inventory
Expand Down
5 changes: 1 addition & 4 deletions Infrastructure/Inventory/InventoryServiceTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Infrastructure.Network;
using CleanArchitecture.Infrastructure.Network;
using Moq;
using Moq.AutoMock;
using NUnit.Framework;
Expand Down
8 changes: 1 addition & 7 deletions Infrastructure/Network/HttpClientWrapper.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http.Json;

namespace CleanArchitecture.Infrastructure.Network
namespace CleanArchitecture.Infrastructure.Network
{
public class HttpClientWrapper : IHttpClientWrapper
{
Expand Down
6 changes: 1 addition & 5 deletions Infrastructure/Network/IHttpClientWrapper.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace CleanArchitecture.Infrastructure.Network
namespace CleanArchitecture.Infrastructure.Network
{
public interface IHttpClientWrapper
{
Expand Down
5 changes: 1 addition & 4 deletions Persistence/Customers/CustomerConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Customers;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

Expand Down
5 changes: 1 addition & 4 deletions Persistence/DatabaseService.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System.Linq;
using CleanArchitecture.Application.Interfaces;
using CleanArchitecture.Domain.Customers;
using CleanArchitecture.Domain.Employees;
Expand Down
5 changes: 1 addition & 4 deletions Persistence/Employees/EmployeeConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Employees;
using CleanArchitecture.Domain.Employees;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

Expand Down
5 changes: 1 addition & 4 deletions Persistence/Products/ProductConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using CleanArchitecture.Domain.Products;
using CleanArchitecture.Domain.Products;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

Expand Down
Loading