Exemplo n.º 1
0
        public async Task <IActionResult> Retired(
            [FromHeader] Guid personUniqueId,
            [FromQuery] string documentUniqueId,
            [FromServices] DocumentsManager manager)
        {
            await manager.RetireDocumentAsync(User.Identity.Name, personUniqueId, documentUniqueId);

            return(Json(new ApiResponse <bool>(true)));
        }