เพิ่ม path รูปขอโอน

This commit is contained in:
Kittapath 2023-08-11 10:32:27 +07:00
parent e2fee53a94
commit 3b36da67eb

View file

@ -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,