diff --git a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs index acfc2f54..891c9005 100644 --- a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs @@ -108,7 +108,8 @@ namespace IRaCIS.Core.Application.Service .ForMember(t=>t.NoticeUserTypeList,u=>u.MapFrom(t=>t.NoticeUserTypeIdList)); - CreateMap().IncludeMembers(t=>t.NoticeUserType); + CreateMap().IncludeMembers(t=>t.NoticeUserType) + .ForMember(t=>t.Id,u=>u.MapFrom(u=>u.NoticeUserType.Id)); CreateMap();