File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
- <PackageReference Include =" AutoMapper.Extensions.Microsoft.DependencyInjection" Version =" 6 .0.0" />
9
- <PackageReference Include =" Microsoft.AspNetCore.Identity.UI" Version =" 3.1.0 " />
8
+ <PackageReference Include =" AutoMapper.Extensions.Microsoft.DependencyInjection" Version =" 7 .0.0" />
9
+ <PackageReference Include =" Microsoft.AspNetCore.Identity.UI" Version =" 3.1.3 " />
10
10
</ItemGroup >
11
11
12
12
<ItemGroup >
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ private void ConfigureAspnetRunServices(IServiceCollection services)
92
92
services . AddScoped < ICategoryService , CategoryService > ( ) ;
93
93
94
94
// Add Web Layer
95
- services . AddAutoMapper ( ) ; // Add AutoMapper
95
+ services . AddAutoMapper ( typeof ( Startup ) ) ; // Add AutoMapper
96
96
services . AddScoped < IIndexPageService , IndexPageService > ( ) ;
97
97
services . AddScoped < IProductPageService , ProductPageService > ( ) ;
98
98
services . AddScoped < ICategoryPageService , CategoryPageService > ( ) ;
You can’t perform that action at this time.
0 commit comments