Exemplo n.º 1
0
        public async Task <IActionResult> EditOther(
            [FromHeader] Guid personUniqueId,
            [FromQuery] string uniqueId,
            [FromBody] EditDocumentRequest <OtherDocumentDetail> model,
            [FromServices] DocumentsManager manager)
        {
            var documentId = await manager.EditDocumentAsync(User.Identity.Name, personUniqueId, uniqueId, model);

            return(Json(new ApiResponse <string>(documentId)));
        }