Example #1
0
        private SearchCourseViewModel GetInitialCourseSearchVm(string selectedOrgId, string selectedTrainerId)
        {
            var searchViewModel = new SearchCourseViewModel {
                Organizations = _orgManager.GetAllSelectListOrganizations(selectedOrgId),
                Trainers      = new SelectList(_trainerManager.GetEmptySelectList(), "Value", "Text", selectedTrainerId).ToList()
            };

            return(searchViewModel);
        }