public IActionResult Search(string selectedSemester) { ViewBag.Subjects = MockCRMSData.PopulateSubjects(); ViewBag.ScheduleTypes = MockCRMSData.PopulateScheduleTypes(); ViewBag.InstructionalMethods = MockCRMSData.PopulateInstructionalMethods(); ViewBag.Campuses = MockCRMSData.PopulateCampuses(); ViewBag.CourseLevels = MockCRMSData.PopulateCourseLevels(); List <string> instructorsList = MockCRMSData.PopulateInstructors(); ViewBag.InstructorsJSON = JsonConvert.SerializeObject(instructorsList, Formatting.Indented); return(View()); }