public bool FuegAutorHinzu()
        {
            Console.WriteLine("Bitte Geben Sie den Autor Name ein: ");
            var autorName = Console.ReadLine();

            IF.SpeichereAutor(autorName);
            return(false);
        }
예제 #2
0
        private void btnAddAuthor_Click(object sender, RoutedEventArgs e)
        {
            string Name = txtAuthorName.Text;

            IF.SpeichereAutor(Name);
            FillAuthors();
            if (lstAuthors.SelectedItem != null)
            {
                FillBooks(IF.GetBuecher(int.Parse(lstAuthors.SelectedValue.ToString())));
            }
            else
            {
                FillBooks(IF.GetBuecher());
            }
            EmptyFields();
        }