private void btnTestStudents_Click(object sender, RoutedEventArgs e) { StudentInfoContext context = new StudentInfoContext(); if (context.TestStudentsIfEmpty()) { MessageBox.Show("В базата няма студенти, ще бъдат добавени тестовите"); context.CopyTestStudents(); } else { MessageBox.Show("В базата има данни за " + context.getTotalStudentsCount() + " на брой студента"); } }