clean MediatR useless references (#830)

Co-authored-by: cedri <cedri@BAS>
This commit is contained in:
Cédric Michel
2022-12-22 16:01:28 +01:00
committed by GitHub
parent 303f145ad3
commit 2e6fc6ca44
6 changed files with 3 additions and 18 deletions

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Text;
using BlazorShared;
using BlazorShared.Models;
using MediatR;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
@@ -83,8 +82,6 @@ builder.Services.AddCors(options =>
});
builder.Services.AddControllers();
builder.Services.AddMediatR(typeof(CatalogItem).Assembly);
builder.Services.AddAutoMapper(typeof(MappingProfile).Assembly);
builder.Services.AddEndpointsApiExplorer();

View File

@@ -11,8 +11,6 @@
<ItemGroup>
<PackageReference Include="Ardalis.ApiEndpoints" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" />
<PackageReference Include="MediatR" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" />
<PackageReference Include="MinimalApi.Endpoint" />
<PackageReference Include="Swashbuckle.AspNetCore" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" />