Ejemplo n.º 1
0
        public SelectList getExamTypeDropDown()
        {
            List <ExamTypeDTO> rDto        = _ddlRepo.getExamType();
            ExamTypeDTO        examtypeDTO = new ExamTypeDTO();

            examtypeDTO.ExamTypeId          = -1;
            examtypeDTO.ExamTypeDescription = "";

            rDto.Insert(0, examtypeDTO);

            return(new SelectList(rDto, "ExamTypeId", "ExamTypeDescription"));
        }