diff --git a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs index 55b45039c..eb1bfa916 100644 --- a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs +++ b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs @@ -84,7 +84,6 @@ namespace IRaCIS.Application.Contracts { public Guid IdentityUserId { get; set; } - public Guid UserRoleId { get; set; } public bool IsMutiAccount => AccountList?.Count > 1; public List AccountList { get; set; } diff --git a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs index c2418309c..eb4c972ef 100644 --- a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs @@ -138,7 +138,8 @@ namespace IRaCIS.Core.Application.Service CreateMap(); - CreateMap(); + CreateMap() + .ForMember(d => d.IdentityUserId, c => c.MapFrom(t => t.Id));