private void Button_Click(object sender, RoutedEventArgs e) { Info info = new Info(); info.Name = TB1.Text; info.Surname = TB2.Text; info.Mail = TB3.Text; uR.UpdateFieldInfo(Nick, "person", info); }