Beispiel #1
0
        private static async Task<bool> CallGetLocationInformation()
        {
            var svc = new LocationService();
            var task = svc.GetLocationInformation(32000249);

            await Task.WhenAll(task);

            Console.WriteLine("Done...");

            return true;
        }
Beispiel #2
0
        private static async Task<bool> CallListLocations()
        {
            var svc = new LocationService();
            var task = svc.ListLocations();

            await Task.WhenAll(task);

            Console.WriteLine("Done...");

            return true;
        }