public static IEnumerable<University> ValidUniversities()
        {
            IUniversityService theUniversityService = new UniversityService(null);
            IEnumerable<University> myUniversities = theUniversityService.GetValidUniversities();

            return myUniversities;
        }
        public static bool IsValidUniversityEmail(string anEmail, IValidationDictionary aValidationDictionary)
        {
            IUniversityService theUniversityService = new UniversityService(aValidationDictionary);

            if (!theUniversityService.IsValidUniversityEmailAddress(anEmail)) {
                IEnumerable<string> myValidEmails = theUniversityService.ValidEmails();
                string myValidEmailsInString = string.Join(",", myValidEmails);

                aValidationDictionary.AddError("Email", anEmail, "I'm sorry that is not a valid University email. We currently only accept the following emails: " + myValidEmailsInString);
            }

            return aValidationDictionary.isValid;
        }
        public static University GetMainUniversity(User aUser)
        {
            foreach (UserUniversity myUserUniversity in aUser.UserUniversities) {
                try {
                    return myUserUniversity.UniversityEmail.University;
                } catch (Exception) {
                    string myUniversityId = myUserUniversity.UniversityEmail.UniversityId;
                    IUniversityService myUniService = new UniversityService(null);
                    return myUniService.GetUniversityById(myUniversityId);
                }
            }

            return null;
        }