public async Task <IActionResult> GetXml(
            [FromHeader] Guid personUniqueId,
            [FromQuery] string documentUniqueId,
            [FromServices] DocumentsManager manager)
        {
            var xml = await manager.GenerateXmlAsync(User.Identity.Name, documentUniqueId);

            var base64 = Convert.ToBase64String(Encoding.UTF8.GetBytes(xml.Data));

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