/// <summary> /// Delete a exam event from the course /// </summary> /// <param name="examToDelete"> /// Exam need to be deleted /// </param> /// <returns> /// True if delete successfully /// </returns> public bool DeleteCourse(ExamInformation examToDelete) { return(_ExamSet.Remove(examToDelete)); }
/// <summary> /// Add a new exam event to the course /// </summary> /// <param name="newExam"> /// Exam need to be added /// </param> /// <returns> /// True if add successfully /// </returns> public bool AddExam(ExamInformation newExam) { return(_ExamSet.Add(newExam)); }
/// <summary> /// Delete a exam event from the course /// </summary> /// <param name="examToDelete"> /// Exam need to be deleted /// </param> /// <returns> /// True if delete successfully /// </returns> public bool DeleteExam(ExamInformation examToDelete) { return(_examSet.Remove(examToDelete)); }