public void CallStudents()
        {
            VerificationForm verfyForm = new VerificationForm(this);
            verfyForm.ShowDialog();

            if (guardian.Id != 0)
            {
                CosmosApplication.Entities.GuardianTime timeObj = new CosmosApplication.Entities.GuardianTime() { DateTime = DateTime.Today, GuardianId = guardian.Id };
                new GuardianTimesDAC().AddGuardianTime(timeObj);

                List<Student> students = new StudentGuardianDAC().SelectAllStudentsByParentId(guardian.Id);

                if (students != null && students.Count > 0)
                {
                    string studentNames = "";
                    foreach (var std in students)
                    {
                        studentNames = studentNames + " " + std.Name;
                    }

                    string textToSpeech = "Your parent is here to receive you. Student names are" + studentNames + " Please reach at school gate as soon as possible";

                    reader.Rate = -3;
                    reader.SelectVoice("Microsoft Zira Desktop");
                    reader.SpeakAsync(textToSpeech);
                }
            }

            CallStudents();
            //string textToSpeech = "Your parent is here to receive you. Student names are" + " Ahmer " + " Please reach at school gate as soon as possible";
            
        }
 public GuardianTime AddGuardianTime(GuardianTime time)
 {
     using (CosmosContext ctx = new CosmosContext())
     {
         ctx.GuardianTimes.Add(time);
         ctx.SaveChanges();
         return time;
     }
 }