예제 #1
0
        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]);
            }
        }
예제 #2
0
 public Reminder(DataRow row, Reminders reminders) : base(row, reminders)
 {
     _reminders = reminders;
 }