public List <courseClass> fetchCourse(string course) { List <courseClass> response = new List <courseClass>(); IcourseClient fetch = new IcourseClient(); try { response = fetch.fetchCourses(0, 0).ToList(); } catch { } return(response); }
public IEnumerable <courseClass> fetchCourses() { List <courseClass> response = new List <courseClass>(); IcourseClient fetch = new IcourseClient(); try { response = fetch.fetchCourses(0, 0).ToList(); } catch { } return(response); }