private static async Task DeleteProductAsync(ProductProtoService.ProductProtoServiceClient client)
        {
            var replay = await client.DeleteProductAsync(new DeleteProductRequest
            {
                ProductId = 4
            });

            Console.WriteLine("Deleted Product Status : " + replay.ToString());
        }
Beispiel #2
0
        private static async Task DeleteProductAsync(ProductProtoService.ProductProtoServiceClient client)
        {
            Console.WriteLine("DeleteProductAsync started...");
            var response = await client.DeleteProductAsync(new DeleteProductRequest
            {
                ProductId = 3
            });

            Console.WriteLine("DeleteProductAsync response: " + response.ToString());
        }