Exemple #1
0
        private static void HandleRetailerResponse(RetailerReply response)
        {
            string status = response.IsAvailable ? "available" : "not available";

            Console.WriteLine($"Response recieved from retailer...\nThe product with product id '{response.ProductId}' is {status}");
            Console.WriteLine("Press <enter> to continue..");
        }