public Task <MyIDTravelLoginResponse> LoginByShortenedProfileAsync(LoginByShortenedProfile1 LoginByShortenedProfile1) { taskSourceLoginProfile = new TaskCompletionSource <MyIDTravelLoginResponse>(); try { oWSProxy.loginByShortenedProfileAsync(LoginByShortenedProfile1); } catch (Exception ex) { taskSourceLoginProfile.SetException(ex); } return(taskSourceLoginProfile.Task); }
public MyIDTravelLoginResponse LoginByShortenedProfile(LoginByShortenedProfile1 LoginByShortenedProfile1) { return(oWSProxy.loginByShortenedProfile(LoginByShortenedProfile1)); }