Example #1
0
        private string GetUserName(int id)
        {
            UserService.UserClient client = new UserService.UserClient();
            string name = "";

            UserService.UserB user = new UserService.UserB();
            user = client.GetUser(id);
            name = user.Name;
            return(name);
        }