diff --git a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs index 02a06a1a..d59605e4 100644 --- a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs @@ -93,7 +93,7 @@ namespace IRaCIS.Core.Application.Service var token = string.Empty; var userId = Guid.Empty; CreateMap() - .ForMember(t => t.PublishUserName, d => d.MapFrom(t => t.PublishUser.FullName)) + .ForMember(t => t.PublishUserName, d => d.MapFrom(t => t.PublishedUser.FullName)) .ForMember(t => t.CreateUserName, d => d.MapFrom(t => t.CreateUser.FullName)) .ForMember(d => d.FullFilePath, u => u.MapFrom(s => s.Path + "?access_token=" + token)); diff --git a/IRaCIS.Core.Domain/Management/Notice/SystemNotice.cs b/IRaCIS.Core.Domain/Management/Notice/SystemNotice.cs index 811cc5e2..25a01713 100644 --- a/IRaCIS.Core.Domain/Management/Notice/SystemNotice.cs +++ b/IRaCIS.Core.Domain/Management/Notice/SystemNotice.cs @@ -81,7 +81,7 @@ namespace IRaCIS.Core.Domain.Models public Guid? PublishedUserId { get; set; } - public User PublishUser { get; set; } + public User PublishedUser { get; set; } public DateTime? PublishedTime { get; set; }