示例#1
0
        private void button11_Click(object sender, EventArgs e)
        {
            var client = new SponsorService.SponsorServiceClient();
            var runner = client.GetRunners().First(x => x.lastName == "Tea");

            client.SponsorRunner("Tea Jr.", runner, 50);
        }
示例#2
0
        private async void button10_Click(object sender, EventArgs e)
        {
            var client = new SponsorService.SponsorServiceClient();
            var keks   = await client.GetRunnersAsync();

            //var lol = 0;
        }