示例#1
0
        public static string GetHelloo()
        {
            WebReff.WebService client = new WebReff.WebService();
            string             hello  = client.HelloWorld();

            return(hello);
        }
示例#2
0
        public static string GetContent(string fileName)
        {
            WebReff.WebService client = new WebReff.WebService();

            string data = client.GetContent(fileName);

            return(data);
        }
示例#3
0
        public static List <WebReff.Customer> GetCustomers()
        {
            WebReff.WebService      client       = new WebReff.WebService();
            List <WebReff.Customer> customerList = new List <WebReff.Customer>();

            customerList = client.FindAllCustomers().ToList <WebReff.Customer>();

            return(customerList);
        }
示例#4
0
        public static string[][] GetCronusEmployees()
        {
            WebReff.WebService client = new WebReff.WebService();
            //List<List<string>> cronusEmployeeList = new List<List<string>>();
            //Här blir vår List<List<string>> en array.
            string[][] cronusEmployeeList = client.GetCronusEmployees();

            return(cronusEmployeeList);
        }