public List <Course> GetAllCourseName() { List <Course> courses = new List <Course>(); courses = aCourseGateWay.GetAllCourse(); return(courses); }
public List <Course> GetAllCourse() { aCourseGateWay = new CourseGateWay(); return(aCourseGateWay.GetAllCourse()); }