public static Reminder GetReminderByTaskID(LoginUser loginUser, int taskID) { Reminders reminders = new Reminders(loginUser); reminders.LoadByTaskID(taskID); if (reminders.IsEmpty) { return(null); } else { return(reminders[0]); } }
public Reminder(DataRow row, Reminders reminders) : base(row, reminders) { _reminders = reminders; }