public List <SemesterModel> GetAllSemesters() { SemesterGateway aSemesterGateway = new SemesterGateway(); List <SemesterModel> semesters = new List <SemesterModel>(); semesters = aSemesterGateway.GetAllSemesters(); return(semesters); }
public SemesterModel GetSemesterById(int semesterId) { SemesterGateway aSemesterGateway = new SemesterGateway(); return(aSemesterGateway.GetSemesterById(semesterId)); }