示例#1
0
        /// <summary>
        /// Lists with task, all the beginner customers who use credit card.
        /// </summary>
        /// <param name="shopLogic">Logic for Orders repository and SkiEqupments repository.</param>
        public static void BeginnersWithCreditCardAsync(ShopLogic shopLogic)
        {
            var task = shopLogic?.BeginnersWithCreditCardAsync();

            task.Wait();
            foreach (var item in task.Result)
            {
                Console.WriteLine(item);
                Thread.Sleep(500);
            }

            Console.ReadLine();
        }