|
@@ -54,7 +54,8 @@ namespace MTWorkHR.Application.Mapper
|
|
|
CreateMap<UserBasicInfoDto, ApplicationUser>().ReverseMap();
|
|
|
CreateMap<UserBasicInfoDto, UserDto>().ReverseMap();
|
|
|
|
|
|
- CreateMap<ApplicationUser, ChatUserDto>().ReverseMap();
|
|
|
+ CreateMap<ApplicationUser, ChatUserDto>()
|
|
|
+ .ForMember(s => s.UserId, o => o.MapFrom(s => s.Id )).ReverseMap();
|
|
|
|
|
|
CreateMap<AttachmentDto, UserAttachment>().ReverseMap();
|
|
|
CreateMap<UserAddress, UserAddressDto>()
|