We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2885c83 + a98fbbb commit e20b3c6Copy full SHA for e20b3c6
src/Gml.Web.Skin.Service/Core/Extensions/Application/ApplicationExtensions.cs
@@ -13,7 +13,10 @@ public static WebApplicationBuilder CreateService(this WebApplicationBuilder bui
13
builder.Services.AddSwaggerGen();
14
15
builder.Services.AddAntiforgery();
16
- builder.Services.AddAutoMapper(typeof(TextureMapper));
+ builder.Services.AddAutoMapper(map =>
17
+ {
18
+ map.AddProfile<TextureMapper>();
19
+ });
20
21
builder.Services
22
.AddCors(o => o.AddPolicy(_policyName, policyBuilder =>
0 commit comments