Example #1
0
        // return standard Section List
        public SelectList getStandardSectionDropDown()
        {
            List <StandardSectionMapDTO> rDto = _ddlRepo.StandardSection();

            StandardSectionMapDTO ssDto = new StandardSectionMapDTO();

            ssDto.StandardSectionId   = -1;
            ssDto.StandardSectionDesc = string.Empty;

            rDto.Insert(0, ssDto);

            return(new SelectList(rDto, "StandardSectionId", "StandardSectionDesc"));
        }