diff --git a/Application/Customers/Queries/GetCustomerList/GetCustomersListQuery.cs b/Application/Customers/Queries/GetCustomerList/GetCustomersListQuery.cs index a2c9da5..ff01135 100644 --- a/Application/Customers/Queries/GetCustomerList/GetCustomersListQuery.cs +++ b/Application/Customers/Queries/GetCustomerList/GetCustomersListQuery.cs @@ -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 { diff --git a/Application/Customers/Queries/GetCustomerList/GetCustomersListQueryTests.cs b/Application/Customers/Queries/GetCustomerList/GetCustomersListQueryTests.cs index 6bff50a..f3522f9 100644 --- a/Application/Customers/Queries/GetCustomerList/GetCustomersListQueryTests.cs +++ b/Application/Customers/Queries/GetCustomerList/GetCustomersListQueryTests.cs @@ -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 { diff --git a/Application/Customers/Queries/GetCustomerList/IGetCustomersListQuery.cs b/Application/Customers/Queries/GetCustomerList/IGetCustomersListQuery.cs index 4f22de6..576149f 100644 --- a/Application/Customers/Queries/GetCustomerList/IGetCustomersListQuery.cs +++ b/Application/Customers/Queries/GetCustomerList/IGetCustomersListQuery.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace CleanArchitecture.Application.Customers.Queries.GetCustomerList +namespace CleanArchitecture.Application.Customers.Queries.GetCustomerList { public interface IGetCustomersListQuery { diff --git a/Application/Employees/Queries/GetEmployeesList/GetEmployeesListQueryTests.cs b/Application/Employees/Queries/GetEmployeesList/GetEmployeesListQueryTests.cs index 7d2f4f9..40a86e6 100644 --- a/Application/Employees/Queries/GetEmployeesList/GetEmployeesListQueryTests.cs +++ b/Application/Employees/Queries/GetEmployeesList/GetEmployeesListQueryTests.cs @@ -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; diff --git a/Application/Employees/Queries/GetEmployeesList/GetEmployeesQuery.cs b/Application/Employees/Queries/GetEmployeesList/GetEmployeesQuery.cs index 22ebd43..cc8edae 100644 --- a/Application/Employees/Queries/GetEmployeesList/GetEmployeesQuery.cs +++ b/Application/Employees/Queries/GetEmployeesList/GetEmployeesQuery.cs @@ -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 { diff --git a/Application/Employees/Queries/GetEmployeesList/IGetEmployeesListQuery.cs b/Application/Employees/Queries/GetEmployeesList/IGetEmployeesListQuery.cs index be65ca7..f992db7 100644 --- a/Application/Employees/Queries/GetEmployeesList/IGetEmployeesListQuery.cs +++ b/Application/Employees/Queries/GetEmployeesList/IGetEmployeesListQuery.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace CleanArchitecture.Application.Employees.Queries.GetEmployeesList +namespace CleanArchitecture.Application.Employees.Queries.GetEmployeesList { public interface IGetEmployeesListQuery { diff --git a/Application/Interfaces/IInventoryService.cs b/Application/Interfaces/IInventoryService.cs index a5195d0..7aff47b 100644 --- a/Application/Interfaces/IInventoryService.cs +++ b/Application/Interfaces/IInventoryService.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Application.Interfaces +namespace CleanArchitecture.Application.Interfaces { public interface IInventoryService { diff --git a/Application/Products/Queries/GetProductsList/GetProductsListQuery.cs b/Application/Products/Queries/GetProductsList/GetProductsListQuery.cs index 950bd48..cc466a8 100644 --- a/Application/Products/Queries/GetProductsList/GetProductsListQuery.cs +++ b/Application/Products/Queries/GetProductsList/GetProductsListQuery.cs @@ -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 { diff --git a/Application/Products/Queries/GetProductsList/GetProductsListQueryTests.cs b/Application/Products/Queries/GetProductsList/GetProductsListQueryTests.cs index f288093..85551b5 100644 --- a/Application/Products/Queries/GetProductsList/GetProductsListQueryTests.cs +++ b/Application/Products/Queries/GetProductsList/GetProductsListQueryTests.cs @@ -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; diff --git a/Application/Products/Queries/GetProductsList/IGetProductsListQuery.cs b/Application/Products/Queries/GetProductsList/IGetProductsListQuery.cs index 792277d..defafb4 100644 --- a/Application/Products/Queries/GetProductsList/IGetProductsListQuery.cs +++ b/Application/Products/Queries/GetProductsList/IGetProductsListQuery.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace CleanArchitecture.Application.Products.Queries.GetProductsList +namespace CleanArchitecture.Application.Products.Queries.GetProductsList { public interface IGetProductsListQuery { diff --git a/Application/Sales/Commands/CreateSale/CreateSaleCommand.cs b/Application/Sales/Commands/CreateSale/CreateSaleCommand.cs index 3127c0d..a978af1 100644 --- a/Application/Sales/Commands/CreateSale/CreateSaleCommand.cs +++ b/Application/Sales/Commands/CreateSale/CreateSaleCommand.cs @@ -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; diff --git a/Application/Sales/Commands/CreateSale/CreateSaleCommandTests.cs b/Application/Sales/Commands/CreateSale/CreateSaleCommandTests.cs index 31b2a56..5ad105f 100644 --- a/Application/Sales/Commands/CreateSale/CreateSaleCommandTests.cs +++ b/Application/Sales/Commands/CreateSale/CreateSaleCommandTests.cs @@ -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; diff --git a/Application/Sales/Commands/CreateSale/CreateSaleModel.cs b/Application/Sales/Commands/CreateSale/CreateSaleModel.cs index b499c0a..7338e82 100644 --- a/Application/Sales/Commands/CreateSale/CreateSaleModel.cs +++ b/Application/Sales/Commands/CreateSale/CreateSaleModel.cs @@ -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 { diff --git a/Application/Sales/Commands/CreateSale/Factory/ISaleFactory.cs b/Application/Sales/Commands/CreateSale/Factory/ISaleFactory.cs index 4f9df06..ee7a444 100644 --- a/Application/Sales/Commands/CreateSale/Factory/ISaleFactory.cs +++ b/Application/Sales/Commands/CreateSale/Factory/ISaleFactory.cs @@ -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; diff --git a/Application/Sales/Commands/CreateSale/Factory/SaleFactory.cs b/Application/Sales/Commands/CreateSale/Factory/SaleFactory.cs index c8be46c..6094498 100644 --- a/Application/Sales/Commands/CreateSale/Factory/SaleFactory.cs +++ b/Application/Sales/Commands/CreateSale/Factory/SaleFactory.cs @@ -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; diff --git a/Application/Sales/Commands/CreateSale/Factory/SaleFactoryTests.cs b/Application/Sales/Commands/CreateSale/Factory/SaleFactoryTests.cs index 574b6c6..7d9ed4e 100644 --- a/Application/Sales/Commands/CreateSale/Factory/SaleFactoryTests.cs +++ b/Application/Sales/Commands/CreateSale/Factory/SaleFactoryTests.cs @@ -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; diff --git a/Application/Sales/Queries/GetSaleDetail/GetSaleDetailQuery.cs b/Application/Sales/Queries/GetSaleDetail/GetSaleDetailQuery.cs index 318cd68..6790874 100644 --- a/Application/Sales/Queries/GetSaleDetail/GetSaleDetailQuery.cs +++ b/Application/Sales/Queries/GetSaleDetail/GetSaleDetailQuery.cs @@ -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 { diff --git a/Application/Sales/Queries/GetSaleDetail/GetSaleDetailQueryTests.cs b/Application/Sales/Queries/GetSaleDetail/GetSaleDetailQueryTests.cs index f594e11..3218b25 100644 --- a/Application/Sales/Queries/GetSaleDetail/GetSaleDetailQueryTests.cs +++ b/Application/Sales/Queries/GetSaleDetail/GetSaleDetailQueryTests.cs @@ -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; diff --git a/Application/Sales/Queries/GetSaleDetail/IGetSaleDetailQuery.cs b/Application/Sales/Queries/GetSaleDetail/IGetSaleDetailQuery.cs index 71d653f..8dbfc07 100644 --- a/Application/Sales/Queries/GetSaleDetail/IGetSaleDetailQuery.cs +++ b/Application/Sales/Queries/GetSaleDetail/IGetSaleDetailQuery.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; - namespace CleanArchitecture.Application.Sales.Queries.GetSaleDetail { public interface IGetSaleDetailQuery diff --git a/Application/Sales/Queries/GetSaleDetail/SaleDetailModel.cs b/Application/Sales/Queries/GetSaleDetail/SaleDetailModel.cs index 7b5d651..bf3500f 100644 --- a/Application/Sales/Queries/GetSaleDetail/SaleDetailModel.cs +++ b/Application/Sales/Queries/GetSaleDetail/SaleDetailModel.cs @@ -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 { diff --git a/Application/Sales/Queries/GetSalesList/GetSalesListQuery.cs b/Application/Sales/Queries/GetSalesList/GetSalesListQuery.cs index bd9a281..5438512 100644 --- a/Application/Sales/Queries/GetSalesList/GetSalesListQuery.cs +++ b/Application/Sales/Queries/GetSalesList/GetSalesListQuery.cs @@ -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 { diff --git a/Application/Sales/Queries/GetSalesList/GetSalesListQueryTests.cs b/Application/Sales/Queries/GetSalesList/GetSalesListQueryTests.cs index 5efed54..b3e046f 100644 --- a/Application/Sales/Queries/GetSalesList/GetSalesListQueryTests.cs +++ b/Application/Sales/Queries/GetSalesList/GetSalesListQueryTests.cs @@ -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; diff --git a/Application/Sales/Queries/GetSalesList/IGetSalesListQuery.cs b/Application/Sales/Queries/GetSalesList/IGetSalesListQuery.cs index 5c87812..b4fb47c 100644 --- a/Application/Sales/Queries/GetSalesList/IGetSalesListQuery.cs +++ b/Application/Sales/Queries/GetSalesList/IGetSalesListQuery.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace CleanArchitecture.Application.Sales.Queries.GetSalesList +namespace CleanArchitecture.Application.Sales.Queries.GetSalesList { public interface IGetSalesListQuery { diff --git a/Application/Sales/Queries/GetSalesList/SalesListItemModel.cs b/Application/Sales/Queries/GetSalesList/SalesListItemModel.cs index 7ec568f..8e199e6 100644 --- a/Application/Sales/Queries/GetSalesList/SalesListItemModel.cs +++ b/Application/Sales/Queries/GetSalesList/SalesListItemModel.cs @@ -1,6 +1,4 @@ -using System; - -namespace CleanArchitecture.Application.Sales.Queries.GetSalesList +namespace CleanArchitecture.Application.Sales.Queries.GetSalesList { public class SalesListItemModel { diff --git a/Common/Dates/DateService.cs b/Common/Dates/DateService.cs index 0261ec8..35220d0 100644 --- a/Common/Dates/DateService.cs +++ b/Common/Dates/DateService.cs @@ -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 { diff --git a/Common/Dates/IDateService.cs b/Common/Dates/IDateService.cs index bb5601a..2af3ffb 100644 --- a/Common/Dates/IDateService.cs +++ b/Common/Dates/IDateService.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Common.Dates +namespace CleanArchitecture.Common.Dates { public interface IDateService { diff --git a/Domain/Common/IEntity.cs b/Domain/Common/IEntity.cs index 9e92496..a748220 100644 --- a/Domain/Common/IEntity.cs +++ b/Domain/Common/IEntity.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Domain.Common +namespace CleanArchitecture.Domain.Common { public interface IEntity { diff --git a/Domain/Customers/Customer.cs b/Domain/Customers/Customer.cs index d09fcca..4a88035 100644 --- a/Domain/Customers/Customer.cs +++ b/Domain/Customers/Customer.cs @@ -1,5 +1,4 @@ -using System; -using CleanArchitecture.Domain.Common; +using CleanArchitecture.Domain.Common; namespace CleanArchitecture.Domain.Customers { diff --git a/Domain/Customers/CustomerTests.cs b/Domain/Customers/CustomerTests.cs index 8bd3639..b4a32ee 100644 --- a/Domain/Customers/CustomerTests.cs +++ b/Domain/Customers/CustomerTests.cs @@ -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 { diff --git a/Domain/Employees/Employee.cs b/Domain/Employees/Employee.cs index a5d69ea..aa030ee 100644 --- a/Domain/Employees/Employee.cs +++ b/Domain/Employees/Employee.cs @@ -1,5 +1,4 @@ -using System; -using CleanArchitecture.Domain.Common; +using CleanArchitecture.Domain.Common; namespace CleanArchitecture.Domain.Employees { diff --git a/Domain/Employees/EmployeeTests.cs b/Domain/Employees/EmployeeTests.cs index eef04c8..c4cbc55 100644 --- a/Domain/Employees/EmployeeTests.cs +++ b/Domain/Employees/EmployeeTests.cs @@ -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 { diff --git a/Domain/Products/Product.cs b/Domain/Products/Product.cs index 4d97fb9..583317e 100644 --- a/Domain/Products/Product.cs +++ b/Domain/Products/Product.cs @@ -1,5 +1,4 @@ -using System; -using CleanArchitecture.Domain.Common; +using CleanArchitecture.Domain.Common; namespace CleanArchitecture.Domain.Products { diff --git a/Domain/Products/ProductTests.cs b/Domain/Products/ProductTests.cs index bdaad82..59daacf 100644 --- a/Domain/Products/ProductTests.cs +++ b/Domain/Products/ProductTests.cs @@ -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 { diff --git a/Domain/Sales/Sale.cs b/Domain/Sales/Sale.cs index 3ba9aef..687baf0 100644 --- a/Domain/Sales/Sale.cs +++ b/Domain/Sales/Sale.cs @@ -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; diff --git a/Domain/Sales/SaleTests.cs b/Domain/Sales/SaleTests.cs index e4af238..4102800 100644 --- a/Domain/Sales/SaleTests.cs +++ b/Domain/Sales/SaleTests.cs @@ -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; diff --git a/Infrastructure/Inventory/InventoryService.cs b/Infrastructure/Inventory/InventoryService.cs index bb5d769..324da61 100644 --- a/Infrastructure/Inventory/InventoryService.cs +++ b/Infrastructure/Inventory/InventoryService.cs @@ -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 diff --git a/Infrastructure/Inventory/InventoryServiceTests.cs b/Infrastructure/Inventory/InventoryServiceTests.cs index 4930fb0..562d755 100644 --- a/Infrastructure/Inventory/InventoryServiceTests.cs +++ b/Infrastructure/Inventory/InventoryServiceTests.cs @@ -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; diff --git a/Infrastructure/Network/HttpClientWrapper.cs b/Infrastructure/Network/HttpClientWrapper.cs index 50c2101..0b6fc19 100644 --- a/Infrastructure/Network/HttpClientWrapper.cs +++ b/Infrastructure/Network/HttpClientWrapper.cs @@ -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 { diff --git a/Infrastructure/Network/IHttpClientWrapper.cs b/Infrastructure/Network/IHttpClientWrapper.cs index c3772a3..789ad0d 100644 --- a/Infrastructure/Network/IHttpClientWrapper.cs +++ b/Infrastructure/Network/IHttpClientWrapper.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Infrastructure.Network +namespace CleanArchitecture.Infrastructure.Network { public interface IHttpClientWrapper { diff --git a/Persistence/Customers/CustomerConfiguration.cs b/Persistence/Customers/CustomerConfiguration.cs index 839ec60..4cfba98 100644 --- a/Persistence/Customers/CustomerConfiguration.cs +++ b/Persistence/Customers/CustomerConfiguration.cs @@ -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; diff --git a/Persistence/DatabaseService.cs b/Persistence/DatabaseService.cs index d5b5eb9..ad17009 100644 --- a/Persistence/DatabaseService.cs +++ b/Persistence/DatabaseService.cs @@ -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; diff --git a/Persistence/Employees/EmployeeConfiguration.cs b/Persistence/Employees/EmployeeConfiguration.cs index 7cb982b..a8371b8 100644 --- a/Persistence/Employees/EmployeeConfiguration.cs +++ b/Persistence/Employees/EmployeeConfiguration.cs @@ -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; diff --git a/Persistence/Products/ProductConfiguration.cs b/Persistence/Products/ProductConfiguration.cs index 6be165b..0c86364 100644 --- a/Persistence/Products/ProductConfiguration.cs +++ b/Persistence/Products/ProductConfiguration.cs @@ -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; diff --git a/Persistence/Sales/SaleConfiguration.cs b/Persistence/Sales/SaleConfiguration.cs index 1025ebc..f597846 100644 --- a/Persistence/Sales/SaleConfiguration.cs +++ b/Persistence/Sales/SaleConfiguration.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using CleanArchitecture.Domain.Sales; +using CleanArchitecture.Domain.Sales; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; diff --git a/Presentation/CustomViewLocationExpander.cs b/Presentation/CustomViewLocationExpander.cs index 4f8f3b6..740cbcd 100644 --- a/Presentation/CustomViewLocationExpander.cs +++ b/Presentation/CustomViewLocationExpander.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.Razor; namespace CleanArchitecture.Presentation { diff --git a/Presentation/Customers/CustomersController.cs b/Presentation/Customers/CustomersController.cs index c49378e..5de06dc 100644 --- a/Presentation/Customers/CustomersController.cs +++ b/Presentation/Customers/CustomersController.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using CleanArchitecture.Application.Customers.Queries.GetCustomerList; namespace CleanArchitecture.Presentation.Customers diff --git a/Presentation/Customers/CustomersControllerTests.cs b/Presentation/Customers/CustomersControllerTests.cs index 5b6a4bb..b577e7b 100644 --- a/Presentation/Customers/CustomersControllerTests.cs +++ b/Presentation/Customers/CustomersControllerTests.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Customers.Queries.GetCustomerList; using NUnit.Framework; diff --git a/Presentation/Employees/EmployeesController.cs b/Presentation/Employees/EmployeesController.cs index bbd3b8e..0639dad 100644 --- a/Presentation/Employees/EmployeesController.cs +++ b/Presentation/Employees/EmployeesController.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using CleanArchitecture.Application.Employees.Queries.GetEmployeesList; namespace CleanArchitecture.Presentation.Employees diff --git a/Presentation/Employees/EmployeesControllerTests.cs b/Presentation/Employees/EmployeesControllerTests.cs index 1b08065..92ed6d7 100644 --- a/Presentation/Employees/EmployeesControllerTests.cs +++ b/Presentation/Employees/EmployeesControllerTests.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Employees.Queries.GetEmployeesList; using NUnit.Framework; diff --git a/Presentation/Home/HomeController.cs b/Presentation/Home/HomeController.cs index 97e7903..f84b739 100644 --- a/Presentation/Home/HomeController.cs +++ b/Presentation/Home/HomeController.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; namespace CleanArchitecture.Presentation.Home { diff --git a/Presentation/Home/HomeControllerTests.cs b/Presentation/Home/HomeControllerTests.cs index d5a45fa..78aa528 100644 --- a/Presentation/Home/HomeControllerTests.cs +++ b/Presentation/Home/HomeControllerTests.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using Moq.AutoMock; using NUnit.Framework; diff --git a/Presentation/Products/ProductsController.cs b/Presentation/Products/ProductsController.cs index c5efeb3..089abf0 100644 --- a/Presentation/Products/ProductsController.cs +++ b/Presentation/Products/ProductsController.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using CleanArchitecture.Application.Products.Queries.GetProductsList; namespace CleanArchitecture.Presentation.Products diff --git a/Presentation/Products/ProductsControllerTests.cs b/Presentation/Products/ProductsControllerTests.cs index 73cf7a3..82f6b5e 100644 --- a/Presentation/Products/ProductsControllerTests.cs +++ b/Presentation/Products/ProductsControllerTests.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Products.Queries.GetProductsList; using NUnit.Framework; diff --git a/Presentation/Sales/Models/CreateSaleViewModel.cs b/Presentation/Sales/Models/CreateSaleViewModel.cs index efe41a3..eab4710 100644 --- a/Presentation/Sales/Models/CreateSaleViewModel.cs +++ b/Presentation/Sales/Models/CreateSaleViewModel.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using Microsoft.AspNetCore.Mvc; -using CleanArchitecture.Application.Sales.Commands.CreateSale; +using CleanArchitecture.Application.Sales.Commands.CreateSale; using Microsoft.AspNetCore.Mvc.Rendering; namespace CleanArchitecture.Presentation.Sales.Models diff --git a/Presentation/Sales/SalesController.cs b/Presentation/Sales/SalesController.cs index b360924..d761972 100644 --- a/Presentation/Sales/SalesController.cs +++ b/Presentation/Sales/SalesController.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using CleanArchitecture.Application.Sales.Commands.CreateSale; using CleanArchitecture.Application.Sales.Queries.GetSaleDetail; using CleanArchitecture.Application.Sales.Queries.GetSalesList; diff --git a/Presentation/Sales/SalesControllerTests.cs b/Presentation/Sales/SalesControllerTests.cs index e22c489..c4f0a16 100644 --- a/Presentation/Sales/SalesControllerTests.cs +++ b/Presentation/Sales/SalesControllerTests.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Sales.Commands.CreateSale; using CleanArchitecture.Application.Sales.Queries.GetSaleDetail; using CleanArchitecture.Application.Sales.Queries.GetSalesList; diff --git a/Presentation/Sales/Services/CreateSaleViewModelFactory.cs b/Presentation/Sales/Services/CreateSaleViewModelFactory.cs index 78765df..2b7f46c 100644 --- a/Presentation/Sales/Services/CreateSaleViewModelFactory.cs +++ b/Presentation/Sales/Services/CreateSaleViewModelFactory.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Microsoft.AspNetCore.Mvc; -using CleanArchitecture.Application.Customers.Queries.GetCustomerList; +using CleanArchitecture.Application.Customers.Queries.GetCustomerList; using CleanArchitecture.Application.Employees.Queries.GetEmployeesList; using CleanArchitecture.Application.Products.Queries.GetProductsList; using CleanArchitecture.Application.Sales.Commands.CreateSale; diff --git a/Presentation/Sales/Services/CreateSaleViewModelFactoryTests.cs b/Presentation/Sales/Services/CreateSaleViewModelFactoryTests.cs index 832db57..7f02a0c 100644 --- a/Presentation/Sales/Services/CreateSaleViewModelFactoryTests.cs +++ b/Presentation/Sales/Services/CreateSaleViewModelFactoryTests.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Customers.Queries.GetCustomerList; using CleanArchitecture.Application.Employees.Queries.GetEmployeesList; using CleanArchitecture.Application.Products.Queries.GetProductsList; diff --git a/Service/Customers/CustomersController.cs b/Service/Customers/CustomersController.cs index 7e99aeb..18172f5 100644 --- a/Service/Customers/CustomersController.cs +++ b/Service/Customers/CustomersController.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using CleanArchitecture.Application.Customers.Queries.GetCustomerList; namespace CleanArchitecture.Service.Customers diff --git a/Service/Customers/CustomersControllerTests.cs b/Service/Customers/CustomersControllerTests.cs index 39a6b28..d8da73a 100644 --- a/Service/Customers/CustomersControllerTests.cs +++ b/Service/Customers/CustomersControllerTests.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Customers.Queries.GetCustomerList; using NUnit.Framework; diff --git a/Service/Employees/EmployeesController.cs b/Service/Employees/EmployeesController.cs index 43b4bec..29aa97c 100644 --- a/Service/Employees/EmployeesController.cs +++ b/Service/Employees/EmployeesController.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using CleanArchitecture.Application.Employees.Queries.GetEmployeesList; namespace CleanArchitecture.Service.Employees diff --git a/Service/Employees/EmployeesControllerTests.cs b/Service/Employees/EmployeesControllerTests.cs index 8a7ecb4..64499f9 100644 --- a/Service/Employees/EmployeesControllerTests.cs +++ b/Service/Employees/EmployeesControllerTests.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Employees.Queries.GetEmployeesList; using NUnit.Framework; diff --git a/Service/LowercaseDocumentFilter.cs b/Service/LowercaseDocumentFilter.cs index cf03f2e..9d6c0b8 100644 --- a/Service/LowercaseDocumentFilter.cs +++ b/Service/LowercaseDocumentFilter.cs @@ -1,6 +1,5 @@ using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; -using System.Collections.Generic; //TODO: Move to Shared folder or Common project? diff --git a/Service/Products/ProductsController.cs b/Service/Products/ProductsController.cs index 413483d..1531125 100644 --- a/Service/Products/ProductsController.cs +++ b/Service/Products/ProductsController.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using CleanArchitecture.Application.Products.Queries.GetProductsList; namespace CleanArchitecture.Service.Products diff --git a/Service/Products/ProductsControllerTests.cs b/Service/Products/ProductsControllerTests.cs index 8b60352..51b2667 100644 --- a/Service/Products/ProductsControllerTests.cs +++ b/Service/Products/ProductsControllerTests.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Products.Queries.GetProductsList; using NUnit.Framework; diff --git a/Service/Sales/SalesController.cs b/Service/Sales/SalesController.cs index 857cf2f..24a265d 100644 --- a/Service/Sales/SalesController.cs +++ b/Service/Sales/SalesController.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; +using System.Net; using Microsoft.AspNetCore.Mvc; using CleanArchitecture.Application.Sales.Commands.CreateSale; using CleanArchitecture.Application.Sales.Queries.GetSaleDetail; diff --git a/Service/Sales/SalesControllerTests.cs b/Service/Sales/SalesControllerTests.cs index d032656..0f49109 100644 --- a/Service/Sales/SalesControllerTests.cs +++ b/Service/Sales/SalesControllerTests.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; +using System.Net; using Moq.AutoMock; using CleanArchitecture.Application.Sales.Commands.CreateSale; using CleanArchitecture.Application.Sales.Queries.GetSaleDetail; diff --git a/Specification/Customers/GetCustomersList/GetCustomersListSteps.cs b/Specification/Customers/GetCustomersList/GetCustomersListSteps.cs index 78463d8..2a3c5bf 100644 --- a/Specification/Customers/GetCustomersList/GetCustomersListSteps.cs +++ b/Specification/Customers/GetCustomersList/GetCustomersListSteps.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using CleanArchitecture.Application.Customers.Queries.GetCustomerList; +using CleanArchitecture.Application.Customers.Queries.GetCustomerList; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using TechTalk.SpecFlow; diff --git a/Specification/Employees/GetEmployeesList/GetEmployeesListSteps.cs b/Specification/Employees/GetEmployeesList/GetEmployeesListSteps.cs index c0f7db5..ee41b78 100644 --- a/Specification/Employees/GetEmployeesList/GetEmployeesListSteps.cs +++ b/Specification/Employees/GetEmployeesList/GetEmployeesListSteps.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using CleanArchitecture.Application.Employees.Queries.GetEmployeesList; +using CleanArchitecture.Application.Employees.Queries.GetEmployeesList; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using TechTalk.SpecFlow; diff --git a/Specification/Products/GetProductsListSteps.cs b/Specification/Products/GetProductsListSteps.cs index 06d2ae1..fc6ffc2 100644 --- a/Specification/Products/GetProductsListSteps.cs +++ b/Specification/Products/GetProductsListSteps.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using CleanArchitecture.Application.Products.Queries.GetProductsList; -using CleanArchitecture.Specification.Shared; +using CleanArchitecture.Application.Products.Queries.GetProductsList; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using TechTalk.SpecFlow; diff --git a/Specification/Sales/CreateASale/CreateASaleSteps.cs b/Specification/Sales/CreateASale/CreateASaleSteps.cs index 6d8da49..9910319 100644 --- a/Specification/Sales/CreateASale/CreateASaleSteps.cs +++ b/Specification/Sales/CreateASale/CreateASaleSteps.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using CleanArchitecture.Application.Interfaces; +using CleanArchitecture.Application.Interfaces; using CleanArchitecture.Application.Sales.Commands.CreateSale; using CleanArchitecture.Common.Dates; using CleanArchitecture.Specification.Shared; diff --git a/Specification/Sales/CreateASale/CreateSaleInfoModel.cs b/Specification/Sales/CreateASale/CreateSaleInfoModel.cs index b2c5e75..d89f02a 100644 --- a/Specification/Sales/CreateASale/CreateSaleInfoModel.cs +++ b/Specification/Sales/CreateASale/CreateSaleInfoModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Specification.Sales.CreateASale +namespace CleanArchitecture.Specification.Sales.CreateASale { public class CreateSaleInfoModel { diff --git a/Specification/Sales/CreateASale/CreateSaleOccurredNotificationModel.cs b/Specification/Sales/CreateASale/CreateSaleOccurredNotificationModel.cs index 2d4017e..6944a2f 100644 --- a/Specification/Sales/CreateASale/CreateSaleOccurredNotificationModel.cs +++ b/Specification/Sales/CreateASale/CreateSaleOccurredNotificationModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Specification.Sales.CreateASale +namespace CleanArchitecture.Specification.Sales.CreateASale { public class CreateSaleOccurredNotificationModel { diff --git a/Specification/Sales/CreateASale/CreateSaleRecordModel.cs b/Specification/Sales/CreateASale/CreateSaleRecordModel.cs index 1b01fb6..4baf34f 100644 --- a/Specification/Sales/CreateASale/CreateSaleRecordModel.cs +++ b/Specification/Sales/CreateASale/CreateSaleRecordModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Specification.Sales.CreateASale +namespace CleanArchitecture.Specification.Sales.CreateASale { public class CreateSaleRecordModel { diff --git a/Specification/Sales/GetSaleDetails/GetSaleDetailsModel.cs b/Specification/Sales/GetSaleDetails/GetSaleDetailsModel.cs index f28a511..f2a7f75 100644 --- a/Specification/Sales/GetSaleDetails/GetSaleDetailsModel.cs +++ b/Specification/Sales/GetSaleDetails/GetSaleDetailsModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Specification.Sales.GetSaleDetails +namespace CleanArchitecture.Specification.Sales.GetSaleDetails { public class GetSaleDetailsModel { diff --git a/Specification/Sales/GetSaleDetails/GetSaleDetailsSteps.cs b/Specification/Sales/GetSaleDetails/GetSaleDetailsSteps.cs index a21521e..f9aee61 100644 --- a/Specification/Sales/GetSaleDetails/GetSaleDetailsSteps.cs +++ b/Specification/Sales/GetSaleDetails/GetSaleDetailsSteps.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using CleanArchitecture.Application.Sales.Queries.GetSaleDetail; -using CleanArchitecture.Specification.Shared; +using CleanArchitecture.Application.Sales.Queries.GetSaleDetail; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using TechTalk.SpecFlow; diff --git a/Specification/Sales/GetSalesList/GetSalesListModel.cs b/Specification/Sales/GetSalesList/GetSalesListModel.cs index f3729e5..7dc5188 100644 --- a/Specification/Sales/GetSalesList/GetSalesListModel.cs +++ b/Specification/Sales/GetSalesList/GetSalesListModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace CleanArchitecture.Specification.Sales.GetSalesList +namespace CleanArchitecture.Specification.Sales.GetSalesList { public class GetSalesListModel { diff --git a/Specification/Sales/GetSalesList/GetSalesListSteps.cs b/Specification/Sales/GetSalesList/GetSalesListSteps.cs index 2e45306..98375f5 100644 --- a/Specification/Sales/GetSalesList/GetSalesListSteps.cs +++ b/Specification/Sales/GetSalesList/GetSalesListSteps.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using CleanArchitecture.Application.Sales.Queries.GetSalesList; -using CleanArchitecture.Specification.Shared; +using CleanArchitecture.Application.Sales.Queries.GetSalesList; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using TechTalk.SpecFlow; diff --git a/Specification/Shared/AppContext.cs b/Specification/Shared/AppContext.cs index 023d812..ee070b0 100644 --- a/Specification/Shared/AppContext.cs +++ b/Specification/Shared/AppContext.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Moq.AutoMock; +using Moq.AutoMock; using CleanArchitecture.Application.Interfaces; using CleanArchitecture.Common.Dates; using System.Runtime.Loader; diff --git a/Specification/Shared/DatabaseLookup.cs b/Specification/Shared/DatabaseLookup.cs index d5396ca..d692dc6 100644 --- a/Specification/Shared/DatabaseLookup.cs +++ b/Specification/Shared/DatabaseLookup.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using CleanArchitecture.Application.Interfaces; +using CleanArchitecture.Application.Interfaces; namespace CleanArchitecture.Specification.Shared { diff --git a/Specification/Shared/MockDatabaseService.cs b/Specification/Shared/MockDatabaseService.cs index 89533e8..7d3190a 100644 --- a/Specification/Shared/MockDatabaseService.cs +++ b/Specification/Shared/MockDatabaseService.cs @@ -8,11 +8,6 @@ using CleanArchitecture.Persistence.Products; using CleanArchitecture.Persistence.Sales; using Microsoft.EntityFrameworkCore; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace CleanArchitecture.Specification.Shared {