private void client_GetUserdetailsCompleted(object sender, GetUserdetailsCompletedEventArgs args)
        {
            UserDto userDto = args.Result;

            UserViewModel viewModel = new UserViewModel(userDto);

            DataContext = viewModel;
        }
        public void UserName_WithUserHavingFirstAndLastName_ShouldConcatenateAsUserName()
        {
            // Arrange
            UserDto userDetails = new UserDto
                {
                    Id = 101,
                    FirstName = "James",
                    LastName = "Bond"
                };

            UserViewModel viewModel = new UserViewModel(userDetails);

            // Act
            string result = viewModel.UserName;

            // Assert
            Assert.AreEqual("James Bond", result);
        }