refactor: refactorings and refinements

This commit is contained in:
Jean Gatto
2024-01-03 20:30:34 -03:00
parent 428544805a
commit 79b8a85020
6 changed files with 6 additions and 16 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
<PackageVersion Include="AspNetCore.HealthChecks.UI.Client" Version="8.0.0" />
<PackageVersion Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageVersion Include="AutoMapper" Version="12.0.1" />
<PackageVersion Include="Bogus" Version="35.0.1" />
<PackageVersion Include="Bogus" Version="35.3.0" />
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="coverlet.msbuild" Version="6.0.0" />
<PackageVersion Include="EntityFrameworkCore.DataEncryption" Version="5.0.0" />
+1 -3
View File
@@ -3,6 +3,4 @@ namespace Shop.Core.SharedKernel;
/// <summary>
/// Represents an interface for aggregate roots.
/// </summary>
public interface IAggregateRoot
{
}
public interface IAggregateRoot;
+1 -3
View File
@@ -5,9 +5,7 @@ namespace Shop.Core.SharedKernel;
/// <summary>
/// This is the base interface for all entities
/// </summary>
public interface IEntity
{
}
public interface IEntity;
/// <summary>
/// This is the base interface for all entities with a key.
+1 -3
View File
@@ -1,5 +1,3 @@
namespace Shop.Core.SharedKernel;
public interface IResponse
{
}
public interface IResponse;
+1 -3
View File
@@ -5,9 +5,7 @@ namespace Shop.Query.Abstractions;
/// <summary>
/// Represents the query model interface.
/// </summary>
public interface IQueryModel
{
}
public interface IQueryModel;
/// <summary>
/// Represents the interface for a query model with a generic key type.
@@ -5,6 +5,4 @@ using Shop.Query.QueriesModel;
namespace Shop.Query.Application.Customer.Queries;
public class GetAllCustomerQuery : IRequest<Result<IEnumerable<CustomerQueryModel>>>
{
}
public class GetAllCustomerQuery : IRequest<Result<IEnumerable<CustomerQueryModel>>>;