public List <Student> GetStudentList(bool willRefreshFlag = false)
 {
     if (willRefreshFlag)
     {
         return(StudentIntegration.GetStudentList());
     }
     else
     {
         new List <Student>();
         string UniqueKey = "GetStudentList";
         if (HttpRuntime.Cache[UniqueKey] == null)
         {
             List <Student> StudentList = StudentIntegration.GetStudentList();
             HttpRuntime.Cache[UniqueKey] = StudentList;
         }
         return((List <Student>)(HttpRuntime.Cache[UniqueKey]));
     }
 }
        public Boolean GetStudent_SitStatus_ByQualAndStream(int QualID, int StreamID, int SessionID, string StudentCode)
        {
            bool StudentSitStatus = StudentIntegration.GetStudent_SitStatus_ByQualAndStream(QualID, StreamID, SessionID, StudentCode);

            return(StudentSitStatus);
        }
        public DataTable GetStudentListReport(string searchText)
        {
            DataTable StudentTable = StudentIntegration.GetStudentListReport(searchText);

            return(StudentTable);
        }
 // overload function for alumni
 public List <Student> GetStudentList(bool allOffices = false, bool showDeleted = false, bool alumniFlag = false)
 {
     return(StudentIntegration.GetStudentList(allOffices, showDeleted, alumniFlag));
 }
 public List <Student> GetStudentList()
 {
     return(StudentIntegration.GetStudentList());
 }
 public int DeleteStudent(Student theStudent)
 {
     return(StudentIntegration.DeleteStudent(theStudent));
 }
 public int UpdateStudent(Student theStudent)
 {
     return(StudentIntegration.UpdateStudent(theStudent));
 }
 public int UpdateStudent(Student theStudent, List <StudentSubjectTaken> StudentSubjects)
 {
     return(StudentIntegration.UpdateStudent(theStudent, StudentSubjects));
 }
 public int InsertStudent(Student theStudent, List <StudentSubjectTaken> StudentSubjects, List <StudentPreviousQual> StudentPreQualList, bool alumniFlag)
 {
     return(StudentIntegration.InsertStudent(theStudent, StudentSubjects, StudentPreQualList, alumniFlag));
 }
 public List <StudentListBySubject> StudentListBySubject(int SubjectID, int SectionID)
 {
     return(StudentIntegration.GetStudentList_BySubject(SubjectID, SectionID));
 }