From 89c18b9c0dd478f39d3661b8ba0e271b53555d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=ABl=20Mugnier?= Date: Wed, 23 Dec 2020 18:56:36 +0100 Subject: [PATCH] Fix - Correction du mapping du OwnerVM to OwnerInput sur Manage --- .gitignore | 3 +++ Sheaft.Application.Mappers/OwnerProfile.cs | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9cdb987da..7adaf6041 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ Sheaft.Web.Jobs/appsettings.Development.json Docker/sql/data Docker/sql/log Docker/sql/secrets + +.idea/* +*.sln.*.user \ No newline at end of file diff --git a/Sheaft.Application.Mappers/OwnerProfile.cs b/Sheaft.Application.Mappers/OwnerProfile.cs index 7e17660d7..9543d641a 100644 --- a/Sheaft.Application.Mappers/OwnerProfile.cs +++ b/Sheaft.Application.Mappers/OwnerProfile.cs @@ -11,7 +11,8 @@ public OwnerProfile() CreateMap(); CreateMap(); - CreateMap(); + CreateMap() + .ForMember(d => d.Address, opt => opt.MapFrom(r => r.Address)); } } }