public void RemoveAttendance(Workshop wks) { foreach (Attendance a in this.attendances.ToList()) { if (a.Wks.ID == wks.ID) { attendances.Remove(a); return; } } throw new Exception("Workshop haven't been found in this persons attandances."); }
public Attendance(Workshop wks, string logincode) { Wks = wks; LoginCode = logincode; }
public Attendance(Workshop wks, int seatnum) { Wks = wks; SeatNumber = seatnum; }
public EnrollmentRequest(Workshop wks, Person p) { Wks = wks; Person = p; Status = "Pending"; }