public async Task <CommentEntryFixed> CreateComment([FromRoute] string nodeId, [FromBody] CommentBody body) { var comment = await _alfrescoHttpClient.CreateComment(nodeId, body); try { var nodeInfo = await _alfrescoHttpClient.GetNodeInfo(nodeId); var pid = nodeInfo?.GetPid(); } catch (Exception ex) { Log.Logger?.Error(ex, "Audit log failed"); } return(comment); }
public async Task <CommentEntryFixed> CreateComment([FromRoute] string nodeId, [FromBody] CommentBody body) { return(await _alfrescoHttpClient.CreateComment(nodeId, body)); }