public ViewResult ListProgram() { List <AcademyProgram> academyPrograms = _programmes.GetProgrammes().ToList(); List <Courses> courses = _programmes.GetCourses().ToList(); List <ProgrammeCourse> courseInProgram = _programmes.GetProgCourses().ToList(); ProgramCourseViewModel pcvm = new ProgramCourseViewModel { acadacourses = courses, acadaprog = academyPrograms, CourseInProg = courseInProgram }; return(View(pcvm)); }