aboutsummaryrefslogtreecommitdiff
path: root/API/Startup.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-12-10 18:49:06 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-12-10 18:49:06 +0200
commite2171a923ab95ba031c08fe068a7e3ed73d0193d (patch)
tree0a5d8831a998dfc0c68d82053a948bb5112e2d2d /API/Startup.cs
parentaa1f51c5988926fb3b3e35df4904f60ecae10686 (diff)
downloadDevHive-e2171a923ab95ba031c08fe068a7e3ed73d0193d.tar
DevHive-e2171a923ab95ba031c08fe068a7e3ed73d0193d.tar.gz
DevHive-e2171a923ab95ba031c08fe068a7e3ed73d0193d.zip
AutoMapper rework extravaganza
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>();
+ // }));
+
+
}
-}
+ }
}