Esempio n. 1
0
 /// <summary>
 ///     Delete a course event from the course
 /// </summary>
 /// <param name="courseToDelete">
 ///     Course need to be deleted
 /// </param>
 /// <returns>
 ///     True if delete successfully
 /// </returns>
 public bool DeleteCourse(CourseInformation courseToDelete)
 {
     return(_CourseSet.Remove(courseToDelete));
 }
Esempio n. 2
0
 /// <summary>
 ///     Add a new course event to the course
 /// </summary>
 /// <param name="newCourse">
 ///     Course need to be added
 /// </param>
 /// <returns>
 ///     True if delete successfully
 /// </returns>
 public bool AddCourse(CourseInformation newCourse)
 {
     return(_CourseSet.Add(newCourse));
 }