//Add some pupils to the database
        public string DoProblem8()
        {
            using (var db = new EFSchoolSystemContext())
            {
                for (int i = 0; i < 500; i++)
                {
                    Pupil pupil = GetNewPupil();
                    db.Pupils.Add(pupil);
                }
                db.SaveChanges();

                return("Finished adding data");
            }
        }
        private void button8_Click(object sender, EventArgs e)
        {
            PrintThatFetchingData();
            using (var db = new EFSchoolSystemContext())
            {
                for (int i = 0; i < 2000; i++)
                {
                    Pupil pupil = GetNewPupil();
                    db.Pupils.Add(pupil);
                }
                db.SaveChanges();

                textBox_Output.Text = "Finished adding data";
            }
        }