From e2171a923ab95ba031c08fe068a7e3ed73d0193d Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 10 Dec 2020 18:49:06 +0200 Subject: AutoMapper rework extravaganza --- API/Startup.cs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'API/Startup.cs') 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(); - cfg.CreateMap(); - - }).CreateMapper(); + // Mapper configuration = new Mapper(new MapperConfiguration(cfg => + // { + // cfg.CreateMap(); + // cfg.CreateMap(); + // })); + + } -} + } } -- cgit v1.2.3