query avatar placement
This commit is contained in:
parent
3d0fbdceb8
commit
d0c157ce90
12 changed files with 157 additions and 6 deletions
|
|
@ -1174,5 +1174,14 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
return Success(new { caregiver, commander, chairman = new List<dynamic>() });
|
||||
}
|
||||
|
||||
[HttpGet("file/{docId:length(36)}")]
|
||||
public async Task<ActionResult<ResponseObject>> GetPathFile(Guid docId)
|
||||
{
|
||||
if (docId == Guid.Parse("00000000-0000-0000-0000-000000000000"))
|
||||
return Error(GlobalMessages.DataNotFound, 404);
|
||||
var path = await _documentService.ImagesPath(docId);
|
||||
return Success(path);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue