Exemple #1
0
            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);
            }
Exemple #2
0
            public IEnumerable <courseClass> fetchCourses()
            {
                List <courseClass> response = new List <courseClass>();
                IcourseClient      fetch    = new IcourseClient();

                try
                {
                    response = fetch.fetchCourses(0, 0).ToList();
                }
                catch
                {
                }

                return(response);
            }