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

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

            string data = client.GetContent(fileName);

            return(data);
        }
Beispiel #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);
        }
        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);
        }