public async ValueTask <IResolveResult> DeleteReviewAsync(ResolverContext context)
        {
            var input  = context.GetArgument <DeleteReviewRequest>("input");
            var result = await _reviewServiceClient.DeleteReviewAsync(input);

            return(As(result.Id));
        }
 public async Task <IActionResult> Delete(Guid reviewId)
 {
     return(Ok(
                await _reviewServiceClient.DeleteReviewAsync(new DeleteReviewRequest {
         ReviewId = reviewId.ToString()
     })
                ));
 }
 public async ValueTask <IResolveResult> DeleteReviewAsync(ResolverContext context)
 {
     return(await GrpcClientCatch(
                "review-service",
                async headers =>
     {
         var input = context.GetArgument <DeleteReviewRequest>("input");
         var result = await _reviewServiceClient.DeleteReviewAsync(input, headers);
         return As(result.Id);
     }));
 }