public async Task <ActionResult <CommentViewModel> > AddComment( Guid releaseId, Guid contentSectionId, Guid contentBlockId, AddOrUpdateCommentRequest request) { return(await _contentService .AddCommentAsync(releaseId, contentSectionId, contentBlockId, request) .HandleFailuresOrOk()); }
public async Task <ActionResult <CommentViewModel> > UpdateComment(Guid commentId, AddOrUpdateCommentRequest request) { return(await _contentService .UpdateCommentAsync(commentId, request) .HandleFailuresOrOk()); }