Exemplo n.º 1
0
        private string CheckLocaiton(string location)
        {
            PhotoSharingApplication1.net.cloudapp.thanigaivellocationservice.Service1 client = null;

            string response = "";

            try
            {
                client   = new net.cloudapp.thanigaivellocationservice.Service1();
                response = client.Getlocation("India");
            }catch (Exception e)
            {
                response = "Error: " + e.Message;
            }

            return(response);
        }
Exemplo n.º 2
0
        private string CheckLocaiton(string location)
        {
            PhotoSharingApplication1.net.cloudapp.thanigaivellocationservice.Service1 client = null;

            string response = "";
            try
            {
                client = new net.cloudapp.thanigaivellocationservice.Service1();
                response = client.Getlocation("India");

            }catch(Exception e)
            {

                response = "Error: " + e.Message;
            }

            return response;
        }