void AddStudentsToRoll()
        {
            var students = from student in Context.Students
                           where student.ChoirId == Roll.ChoirId
                           select student;

            var students2 = Context.Students.Where(x => x.ChoirId == Roll.ChoirId);

            var attendence = from sa in Students
                             where sa.RollId == Roll.Id
                             select sa;

            var q = from s in students
                    where !((from a in attendence select a.StudentId).Contains(s.Id))
                    select s;

            var q2 = students.Where(s => !attendence.Select(a => a.StudentId).Contains(s.Id));

            foreach (var ns in q)
            {
                var sa = new StudentAttendence();
                sa.StudentId = ns.Id;
                sa.Student = ns;
                sa.RollId = Roll.Id;
                Students.Add(sa);
            }
        }
 public virtual void AddStudentAttendence(StudentAttendence studentAttendence)
 {
     ((List<StudentAttendence>)StudentAttendences).Add(studentAttendence);
 }
 public void AddStudentAttendence(StudentAttendence studentAttendence)
 {
     StudentAttendences.Add(studentAttendence);
 }