public void MarkAttendance(List <List <BCAttendance> > Class, List <BCTeacherSubject> teacher, DateTime date, int classId)
        {
            int index = 0;
            List <BCAttendance> masterList = new List <BCAttendance>();

            foreach (List <BCAttendance> attendance in Class)
            {
                int id = teacher[index].BCTeacherSubjectId;
                foreach (BCAttendance status in attendance)
                {
                    status.BCTeacherSubjectId = id;
                    status.Date = date;
                    masterList.Add(status);
                }
                index++;
            }

            masterList = masterList.Where(a => a.BCTeacherSubjectId != 0).ToList();

            _attendanceRepo.AddAttendance(masterList);
        }