diff --git a/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs b/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs index 54928729e..d61520299 100644 --- a/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs @@ -121,6 +121,7 @@ namespace IRaCIS.Core.Application.Service CreateMap() .ForMember(o => o.Speciality, t => t.MapFrom(u => u.Speciality.Value)) + .ForMember(o => o.SpecialityCN, t => t.MapFrom(u => u.Speciality.ValueCN)) .ForMember(o => o.DictionaryList, t => t.MapFrom(u => u.DoctorDicRelationList.Where(t => t.KeyName == StaticData.ReadingType || t.KeyName == StaticData.Subspeciality).Select(t => t.Dictionary).OrderBy(t => t.ShowOrder))); CreateMap();