Compare commits
2 Commits
d6a585c6cc
...
1dc1d673dd
| Author | SHA1 | Date |
|---|---|---|
|
|
1dc1d673dd | |
|
|
46818d9a02 |
|
|
@ -121,6 +121,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
CreateMap<Doctor, SpecialtyDTO>()
|
||||
.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<SpecialtyCommand, Doctor>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue