public static TicketReminderModel[] GetTicketReminders(TicketModel ticket)
 {
     int[] reminderIDs = IDReader.Read(TicketChild.TicketReminders, ticket);
     TicketReminderModel[] reminderModels = new TicketReminderModel[reminderIDs.Length];
     for (int i = 0; i < reminderIDs.Length; ++i)
     {
         reminderModels[i] = new TicketReminderModel(ticket, reminderIDs[i], false);
     }
     return(reminderModels);
 }
예제 #2
0
 public TicketReminderModel[] Reminders()
 {
     return(TicketReminderModel.GetTicketReminders(this));
 }