aboutsummaryrefslogtreecommitdiff
path: root/API/Startup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'API/Startup.cs')
-rw-r--r--API/Startup.cs15
1 files changed, 8 insertions, 7 deletions
diff --git a/API/Startup.cs b/API/Startup.cs
index 825c2d4..087b523 100644
--- a/API/Startup.cs
+++ b/API/Startup.cs
@@ -77,12 +77,13 @@ namespace API
endpoints.MapControllers();
});
- var configuration = new MapperConfiguration(cfg =>
- {
- cfg.CreateMap<User, UserDTO>();
- cfg.CreateMap<UserDTO, User>();
-
- }).CreateMapper();
+ // Mapper configuration = new Mapper(new MapperConfiguration(cfg =>
+ // {
+ // cfg.CreateMap<User, UserDTO>();
+ // cfg.CreateMap<UserDTO, User>();
+ // }));
+
+
}
-}
+ }
}