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); }
public TicketReminderModel[] Reminders() { return(TicketReminderModel.GetTicketReminders(this)); }