เพิ่ม path รูปขอโอน
This commit is contained in:
parent
e2fee53a94
commit
3b36da67eb
1 changed files with 2 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
p.Id,
|
||||
PrefixId = p.Profile.Prefix == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : p.Profile.Prefix.Id,
|
||||
Prefix = p.Profile.Prefix == null ? null : p.Profile.Prefix.Name,
|
||||
AvatarId = p.Profile.Avatar == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : p.Profile.Avatar.Id,
|
||||
p.Profile.FirstName,
|
||||
p.Profile.LastName,
|
||||
ProfileId = p.Profile.Id,
|
||||
|
|
@ -270,6 +271,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
{
|
||||
data.Id,
|
||||
data.ProfileId,
|
||||
AvataPath = data.AvatarId == Guid.Parse("00000000-0000-0000-0000-000000000000") ? null : await _documentService.ImagesPath(data.AvatarId),
|
||||
data.PrefixId,
|
||||
data.Prefix,
|
||||
data.FirstName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue