예제 #1
0
    public GetLoginResponse GetLogin(GetLoginRequest GetLoginRequest)
    {
        GetLoginRequest1 inValue = new GetLoginRequest1();

        inValue.GetLoginRequest = GetLoginRequest;
        GetLoginResponse1 retVal = ((LoginService)(this)).GetLogin(inValue);

        return(retVal.GetLoginResponse);
    }
예제 #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            LoginCredentialsVM viewModel = (LoginCredentialsVM)DataContext;
            LoginPort          client    = Globals.LoginClient;
            GetLoginResponse1  response  = client.GetLogin(new GetLoginRequest1(new GetLoginRequest()
            {
                email    = viewModel.Email,
                password = passwordBox.Password
            }));

            Globals.LoggedAgent = response.GetLoginResponse.AgentDetails;
            DialogResult        = true;
            Close();
        }