private void Button_Click_3(object sender, RoutedEventArgs e) { api Shoppinglistapi = new api(); Shoppinglistapi.CreateShoppinglist(shoppinglistname.Text, GlobalSettings.Id); }