Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit f3a45f4

Browse files
committed
Refactoring
1 parent e4cff92 commit f3a45f4

File tree

7 files changed

+0
-170
lines changed

7 files changed

+0
-170
lines changed

src/NET6CustomLibrary/EFCoreTransaction/Core/Interfaces/IRepository.cs

-16
This file was deleted.

src/NET6CustomLibrary/EFCoreTransaction/Core/Interfaces/ITEntity.cs

-6
This file was deleted.

src/NET6CustomLibrary/EFCoreTransaction/Core/Repository.cs

-90
This file was deleted.

src/NET6CustomLibrary/EFCoreTransaction/Infrastructure/Interfaces/ITUnitOfWork.cs

-6
This file was deleted.

src/NET6CustomLibrary/EFCoreTransaction/Infrastructure/TUnitOfWork.cs

-27
This file was deleted.

src/NET6CustomLibrary/GlobalUsings.cs

-14
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
global using System.Globalization;
55
global using System.Linq;
66
global using System.Net;
7-
global using System.Net.Mime;
87
global using System.Text;
98
global using System.Text.Json;
109
global using System.Text.Json.Serialization;
@@ -17,32 +16,20 @@
1716
global using MediatR;
1817
global using Microsoft.AspNetCore.Authentication.JwtBearer;
1918
global using Microsoft.AspNetCore.Builder;
20-
global using Microsoft.AspNetCore.Diagnostics.HealthChecks;
2119
global using Microsoft.AspNetCore.Http;
2220
global using Microsoft.AspNetCore.Identity.UI.Services;
23-
global using Microsoft.AspNetCore.Routing;
24-
global using Microsoft.Data.SqlClient;
25-
global using Microsoft.EntityFrameworkCore;
2621
global using Microsoft.Extensions.Caching.Distributed;
2722
global using Microsoft.Extensions.Configuration;
2823
global using Microsoft.Extensions.DependencyInjection;
29-
global using Microsoft.Extensions.Diagnostics.HealthChecks;
3024
global using Microsoft.Extensions.Hosting;
3125
global using Microsoft.Extensions.Logging;
3226
global using Microsoft.Extensions.Options;
3327
global using Microsoft.Net.Http.Headers;
3428
global using Microsoft.OpenApi.Any;
3529
global using Microsoft.OpenApi.Models;
3630
global using MimeKit;
37-
global using MySqlConnector;
3831
global using NET6CustomLibrary.DateTime.Converters;
3932
global using NET6CustomLibrary.DateTime.TypeConverters;
40-
global using NET6CustomLibrary.EFCore.Core;
41-
global using NET6CustomLibrary.EFCore.Core.Interfaces;
42-
global using NET6CustomLibrary.EFCore.Infrastructure.Interfaces;
43-
global using NET6CustomLibrary.EFCore.Infrastructure.Repository;
44-
global using NET6CustomLibrary.EFCoreTransaction.Core.Interfaces;
45-
global using NET6CustomLibrary.EFCoreTransaction.Infrastructure.Interfaces;
4633
global using NET6CustomLibrary.ExceptionsMiddleware;
4734
global using NET6CustomLibrary.ExceptionsMiddleware.Exceptions;
4835
global using NET6CustomLibrary.MailKit.Options;
@@ -53,7 +40,6 @@
5340
global using NET6CustomLibrary.Serilog.Models;
5441
global using NET6CustomLibrary.Serilog.Services;
5542
global using NET6CustomLibrary.Validazione.Interfaces;
56-
global using Npgsql;
5743
global using RabbitMQ.Client;
5844
global using RabbitMQ.Client.Events;
5945
global using Serilog;

src/NET6CustomLibrary/NET6CustomLibrary.csproj

-11
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,10 @@
2222
<PackageReference Include="MediatR" Version="12.1.1" />
2323
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.20" />
2424
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.20" />
25-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.9" />
26-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.9" />
27-
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.9" />
28-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.9" />
29-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.9" />
30-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.9">
31-
<PrivateAssets>all</PrivateAssets>
32-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
33-
</PackageReference>
3425
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
3526
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="7.0.0" />
3627
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />
3728
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />
38-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.4" />
3929
<PackageReference Include="RabbitMQ.Client" Version="6.5.0" />
4030
<PackageReference Include="Scrutor" Version="4.2.2" />
4131
<PackageReference Include="Serilog.AspNetCore" Version="7.0.0" />
@@ -47,7 +37,6 @@
4737
<PrivateAssets>all</PrivateAssets>
4838
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4939
</PackageReference>
50-
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="7.0.0" />
5140
<PackageReference Include="StackExchange.Redis" Version="2.6.122" />
5241
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.5.0" />
5342
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.5.0" />

0 commit comments

Comments
 (0)