protected void btnLogin_Click(object sender, EventArgs e) { MyFileIt.MyFileItAppServiceClient obj = new MyFileIt.MyFileItAppServiceClient(); MyFileIt.MyFileItResult result = new MyFileIt.MyFileItResult(); result = obj.LoginAppUser(appGlobal.username, appGlobal.password, txtUserName.Text, txtPassword.Text); var show = result.AppUsers.First().ShowAds; lblMessage.Text = result.Success.ToString(); }
protected void btnLoginUserTest_Click(object sender, EventArgs e) { MyFileIt.MyFileItAppServiceClient obj = new MyFileIt.MyFileItAppServiceClient(); MyFileIt.MyFileItResult result = new MyFileIt.MyFileItResult(); var message = ""; var res = obj.LoginAppUser(appGlobal.username, appGlobal.password, "*****@*****.**", "Admin1234"); lblMessage.Text = res.Success.ToString(); }