Example #1
0
 public override Task <CommentReply> UpdateComment(CommentRequest newComment, ServerCallContext context)
 {
     return(Task.FromResult(new CommentReply
     {
         Message = newComment.comment.UpdateComment(newComment.comment)
     }));
 }
Example #2
0
 public override Task <BoolReply> AddComment(CommentRequest commentRequest, ServerCallContext context)
 {
     return(Task.FromResult(new BoolReply
     {
         Message = commentRequest.Message
     }));
 }