예제 #1
0
        /// <summary>
        /// Get all Reminders NOT USED ANYMORE
        /// </summary>
        /// <param name="TempReminder">Reminder</param>
        private void GetRemindersfromList(Reminder TempReminder)
        {
            TimeShift shift = new TimeShift();

            shift = shift.GetTimeshiftValuesbyID(1)[0];
            Reminders.Add(new Reminder { ClientPersonnelID = TempReminder.ClientPersonnelID, DiaryAppointmentID = Appointments[0].DiaryAppointmentID, DiaryReminderID = TempReminder.DiaryReminderID, ReminderDate = Appointments[0].EndDate.AddMinutes(-shift.TimeUnitsQuantityInMinutes), ReminderTimeshiftID = Convert.ToInt32(shift.ReminderTimeshiftID) });
        }
예제 #2
0
        /// <summary>
        /// Gets TimeShift from Timeshift Class
        /// </summary>
        public void GetAllTimeshiftValues()
        {
            TimeShift shift = new TimeShift();

            this.TimeshiftList = shift.GetAllTimeshiftValues();
        }