//public string FindCoursesBySequence(string name)
 //{
 //}
 //public string GetDepartmentInfo()
 //{
 //}
 public int findCourse(Course course)
 {
     if (courses.ContainsKey(course.getCourseId()))
         return 1;
     else
         return 0;
 }
        public string FindCourse(Course course)
        {
            string str = "not found";

            foreach (Course c in this.courses)
            {
                if (c == course)
                    str = "found";
                break;

            }
            return str;
        }
 public void AddCourse(Course course)
 {
     courses.Add(courses.Keys, course);
 }
 public void RegisterCourse(Course course)
 {
     courses.Add(courses.Keys, course);
 }