Ejemplo n.º 1
0
        public async Task <IActionResult> Attachments(
            [FromHeader] Guid personUniqueId,
            [FromQuery] string documentUniqueId,
            [FromServices] DocumentsManager manager)
        {
            var attachments = await manager.GetAttachmentsAsync(User.Identity.Name, personUniqueId, documentUniqueId);

            return(Json(ApiResponse.Success(attachments)));
        }