private void Login_Click(object sender, RoutedEventArgs e) { if ((!String.IsNullOrEmpty(UserNameValue.Text)) && (!String.IsNullOrEmpty(PasswordValue.Password))) { FBA fba = new FBA(); fba.OnAuthenticated += new EventHandler <FBAAuthenticatedEventArgs>(fba_OnAuthenticated); fba.OnFailedAuthentication += new EventHandler(fba_OnFailedAuthentication); fba.Authenticate(UserNameValue.Text, PasswordValue.Password, Constants.AUTHENTICATION_SERVICE_URL); } else { MessageBox.Show("Please enter user name and password."); } }
public ActionResult RemarkView(string sku) { return(View(FBA.Single(sku))); }
public ActionResult UpdateView(string sku) { return(View(FBA.Single(sku))); }