public void ShowAssignments()
 {
     if (Assignments.Any())
     {
         Assignments.ToList().ForEach(x => Console.WriteLine($"{x.AID}, First Name: {x.title}, " +
                                                             $"Last Name: {x.description}, Subject: {x.subDateTime}"));
     }
     else
     {
         Console.WriteLine("There are no assignments yet!");
     }
     Console.WriteLine();
 }
        public List <int> GetAssignmentsID()
        {
            List <int> list = Assignments.ToList().Select(st => st.AID).ToList();

            return(list);
        }