Ejemplo n.º 1
0
        private void PopulateEducationalLevel(object selectedEducationLevel = null)
        {
            var        query = ems.GetEducationLevelList();
            SelectList EducationLevelList = new SelectList(query, "EducationLevelId", "EducationLevelName", selectedEducationLevel);

            ViewBag.EducationLevel = EducationLevelList;
        }