Skip to content

Commit f53adc6

Browse files
committed
TD-4168: Removed commented lines
1 parent 2d151fa commit f53adc6

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

AdminUI/LearningHub.Nhs.AdminUI/ServiceCollectionExtension.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,6 @@ public static void ConfigureServices(this IServiceCollection services, IConfigur
199199
mc.ShouldMapMethod = m => false;
200200
mc.AddProfile(new MappingProfile());
201201
});
202-
203-
////var mappingConfig = new MapperConfiguration(mc =>
204-
////{
205-
//// mc.AddProfile(new MappingProfile());
206-
////});
207202
IMapper mapper = mappingConfig.CreateMapper();
208203
services.AddSingleton(mapper);
209204

OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/ServiceMappings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static void ConfigureAutomapper(this IServiceCollection services)
3030
mc.ShouldMapMethod = m => false;
3131
mc.AddProfile(new MappingProfile());
3232
});
33-
////var mappingConfig = new MapperConfiguration(mc => { mc.AddProfile(new MappingProfile()); });
33+
3434
IMapper mapper = mappingConfig.CreateMapper();
3535
services.AddSingleton(mapper);
3636
}

WebAPI/LearningHub.Nhs.API/ServiceCollectionExtension.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ public static void ConfigureServices(this IServiceCollection services, IConfigur
6161
mc.AddProfile(new MappingProfile());
6262
mc.AddProfile(new ElfhMappingProfile());
6363
});
64-
////var mappingConfig = new MapperConfiguration(mc =>
65-
////{
66-
//// mc.AddProfile(new MappingProfile());
67-
//// mc.AddProfile(new ElfhMappingProfile());
68-
////});
64+
6965
IMapper mapper = mappingConfig.CreateMapper();
7066
services.AddSingleton(mapper);
7167

0 commit comments

Comments
 (0)