public SelectList getGradesDropDown(int location) { List <GradeConfigDTO> gradeDTO = _ddlRepo.getGrades(location); return(new SelectList(gradeDTO, "GreadeName", "GreadeName")); }