示例#1
0
        public List <SemesterModel> GetAllSemesters()
        {
            SemesterGateway      aSemesterGateway = new SemesterGateway();
            List <SemesterModel> semesters        = new List <SemesterModel>();

            semesters = aSemesterGateway.GetAllSemesters();
            return(semesters);
        }
示例#2
0
        public SemesterModel GetSemesterById(int semesterId)
        {
            SemesterGateway aSemesterGateway = new SemesterGateway();

            return(aSemesterGateway.GetSemesterById(semesterId));
        }