コード例 #1
0
 public void deleteEnrollments(Section deleteSection)
 {
     foreach (var enrollment in Enrollments.Where(c => c.Section_Id == deleteSection.Id))
     {
         Enrollments.Remove(enrollment);
     }
 }