Beispiel #1
0
        private static void Main(string[] args)
        {
            var wrapper = new ServiceFullWrapper();

            //var request = new getIsirWsCuzkDataRequest {ic = "64651975", maxRelevanceVysledku = 2};
            var request = new getIsirWsCuzkDataRequest {
                ic = "27604977", maxRelevanceVysledku = 2
            };
            var resultTask = wrapper.GetIsirWsCuzkDataAsync(request);

            resultTask.Wait();

            var result = resultTask.Result;

            Console.WriteLine("Hello World!");
        }
        private static void Main()
        {
            var wrapper = new ServiceFullWrapper();
            //var request = new getStatusNespolehlivyPlatceRequest { dic = new[] { "CZ27604977" } };
            //var resultTask = wrapper.GetStatusNespolehlivyPlatce(request);

            var request = new getStatusNespolehlivyPlatceRequest1 {
                dic = new[] { "CZ27604977" }
            };
            var resultTask = wrapper.GetStatusNespolehlivyPlatceRozsireny(request);

            //var request = new getSeznamNespolehlivyPlatceRequest();
            //var resultTask = wrapper.GetSeznamNespolehlivyPlatce(request);

            resultTask.Wait();

            var result = resultTask.Result;

            Console.WriteLine(result);
        }