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