コード例 #1
0
        public async Task <IActionResult> Rejected(
            [FromHeader] Guid personUniqueId,
            [FromQuery] string documentUniqueId,
            [FromBody] DocumentRejectedRequest request,
            [FromServices] DocumentsManager manager)
        {
            await manager.RejectDocumentAsync(User.Identity.Name, personUniqueId, request);

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