示例#1
0
 /// <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));
 }
示例#2
0
 /// <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));
 }
示例#3
0
 /// <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));
 }