public List <string> GetAllCourseCodeAsList() { List <string> courseCodes = new List <string>(); try { courseCodes = courseobj.GetAllCourseCodeAsList(); } catch (CustomException e) { throw e; } return(courseCodes); }