Exemple #1
0
        private void TimeComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            ComboBox comboBox = sender as ComboBox;

            Presenter.SetScheduleEntry(ScheduleTimes[comboBox.SelectedIndex]);

            StudentsAttendance = AttendanceProvider.GetAttendance(
                ScheduleTimes[comboBox.SelectedIndex].Id,
                dateTimePicker.Value.Date);

            DisposeAttendancePanel();

            Presenter.SetStudents(StudentsAttendance);
        }
Exemple #2
0
 public static List <AttendanceEntity> GetAttendance(int AttendanceId, int UserId, int ManagerId, DateTime?StartDate, DateTime?EndDate)
 {
     return(AttendanceProvider.GetAttendance(AttendanceId, UserId, ManagerId, StartDate, EndDate));
 }